Skip to content

Pin workflow actions to commit SHAs (#133) #180

Pin workflow actions to commit SHAs (#133)

Pin workflow actions to commit SHAs (#133) #180

Workflow file for this run

name: Lint
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
ruff:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
persist-credentials: false
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
with:
python-version: "3.12"
- run: pip install ruff
- run: ruff check test website-generator backends
- run: ruff format --check test website-generator backends