[CI BUILD] #7
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
--- | |
# yamllint disable rule:line-length | |
name: pre-commit | |
on: # yamllint disable-line rule:truthy | |
pull_request: | |
push: | |
branches: | |
- main # We never expect this to fail, since it must have passed on the pull request, but this will let us create a cache on main that other PRs can use, speeding up the process | |
jobs: | |
pre-commit: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5.1.0 | |
with: | |
python-version: '3.12' | |
- uses: actions/setup-dotnet@v4.0.0 | |
with: | |
dotnet-version: '8.0.x' | |
- uses: pre-commit/action@v3.0.1 |