2023-03-29 15:33:22 -04:00
|
|
|
name: pre-commit
|
|
|
|
|
|
|
|
permissions: {} # none
|
|
|
|
|
|
|
|
on:
|
|
|
|
pull_request:
|
|
|
|
push:
|
|
|
|
branches: [main]
|
|
|
|
|
|
|
|
env:
|
|
|
|
RUST_BACKTRACE: 1
|
|
|
|
CARGO_TERM_COLOR: always
|
|
|
|
CLICOLOR: 1
|
|
|
|
|
2024-01-18 10:22:25 -05:00
|
|
|
concurrency:
|
|
|
|
group: "${{ github.workflow }}-${{ github.ref }}"
|
|
|
|
cancel-in-progress: true
|
|
|
|
|
2023-03-29 15:33:22 -04:00
|
|
|
jobs:
|
|
|
|
pre-commit:
|
|
|
|
permissions:
|
|
|
|
contents: read
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2023-09-30 21:37:07 -04:00
|
|
|
- uses: actions/checkout@v4
|
2023-12-31 19:59:55 -05:00
|
|
|
- uses: actions/setup-python@v5
|
2024-02-29 19:30:14 -05:00
|
|
|
- uses: pre-commit/action@v3.0.1
|