Merge pull request #234 from reedy/patch-1 #136
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: Test | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
workflow_dispatch: | |
jobs: | |
Test: | |
name: pre-commit | |
runs-on: ubuntu-latest | |
steps: | |
- name: 💾 Check out repository | |
uses: actions/checkout@v4 | |
- uses: actions/setup-python@v3 # WARNING: This must be v3 | |
- name: ✨ Install pre-commit | |
uses: pre-commit/[email protected] | |
- name: 🔥 Test | |
run: pre-commit run --show-diff-on-failure --all-files | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: false |