Lint sources #1641
Workflow file for this run
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: Lint sources | |
run-name: Lint sources | |
on: | |
push: | |
pull_request: | |
branches: [main] | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Lint sources | |
run: | | |
sudo apt-get update && sudo apt-get install -y pre-commit | |
pre-commit run --all-files |