Skip to content

chore(deps): update github/codeql-action digest to 64431c6 #4603

chore(deps): update github/codeql-action digest to 64431c6

chore(deps): update github/codeql-action digest to 64431c6 #4603

# .github/workflows/ci.yaml
name: pre-commit CI
on:
push:
branches:
- main
pull_request:
branches:
- main
permissions:
contents: read
jobs:
test:
name: "Pre-commit tests"
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@0d381219ddf674d61a7572ddd19d7941e271515c # tag=v1.4
with:
egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
- name: "Checkout"
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
with:
clean: true
- name: "Set up Python"
uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5
with:
python-version: "3.11"
- name: "Install dependencies"
run: |
set -xe
python -VV
python -m site
python -m pip install --upgrade pip setuptools wheel
python -m pip install --upgrade pre-commit
pre-commit install
- name: "Run pre-commit"
run: "pre-commit run --all-files"