Repository navigation
Adopt GitHub Actions workflow dependency lockfile #551
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Lint | |
| on: | |
| push: | |
| branches: ["main"] | |
| pull_request: | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| steps: | |
| - uses: actions/checkout@v7.0.1 | |
| with: | |
| persist-credentials: false | |
| - name: Verify action lockfile | |
| env: | |
| GH_TOKEN: ${{ github.token }} | |
| run: | | |
| gh extension install github/gh-actions-lock --pin v0.4.0 | |
| gh actions-lock --verify | |
| - run: pipx install ruff | |
| - run: ruff check src/ | |
| - run: ruff format src/ |