2023-03-29 15:33:22 -04:00
|
|
|
name: pre-commit
|
|
|
|
|
|
|
|
permissions: {} # none
|
|
|
|
|
|
|
|
on:
|
|
|
|
pull_request:
|
|
|
|
push:
|
2023-08-14 16:06:53 -04:00
|
|
|
branches: [master]
|
2023-03-29 15:33:22 -04:00
|
|
|
|
|
|
|
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 23:30:16 -04:00
|
|
|
- uses: actions/checkout@v4
|
2023-12-31 23:25:31 -05:00
|
|
|
- uses: actions/setup-python@v5
|
2024-02-29 20:43:25 -05:00
|
|
|
- uses: pre-commit/action@v3.0.1
|