Rust 1.74.0 (#1152) #118
This file contains 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: Ensure pre-commit hooks have been run | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install pre-commit | |
run: sudo apt install -y pre-commit | |
- name: Ensure virtualenv set up for pylint | |
run: make ce | |
- name: Run all pre-commit hooks (except python tests) | |
run: env SKIP=test pre-commit run --all |