Skip to content

Adopt GitHub Actions workflow dependency lockfile #550

Adopt GitHub Actions workflow dependency lockfile

Adopt GitHub Actions workflow dependency lockfile #550

Workflow file for this run

name: Lint
on:
push:
branches: ["main"]
pull_request:
jobs:
lint:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@v7.0.1
- 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/