2023-03-29 14:33:22 -05:00
|
|
|
name: pre-commit
|
|
|
|
|
|
|
|
permissions: {} # none
|
|
|
|
|
|
|
|
on:
|
|
|
|
pull_request:
|
|
|
|
push:
|
2023-08-14 15:06:53 -05:00
|
|
|
branches: [master]
|
2023-03-29 14:33:22 -05:00
|
|
|
|
|
|
|
env:
|
|
|
|
RUST_BACKTRACE: 1
|
|
|
|
CARGO_TERM_COLOR: always
|
|
|
|
CLICOLOR: 1
|
|
|
|
|
2024-01-18 09:22:25 -06:00
|
|
|
concurrency:
|
|
|
|
group: "${{ github.workflow }}-${{ github.ref }}"
|
|
|
|
cancel-in-progress: true
|
|
|
|
|
2023-03-29 14:33:22 -05:00
|
|
|
jobs:
|
|
|
|
pre-commit:
|
|
|
|
permissions:
|
|
|
|
contents: read
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2023-10-01 03:30:16 +00:00
|
|
|
- uses: actions/checkout@v4
|
2024-01-01 04:25:31 +00:00
|
|
|
- uses: actions/setup-python@v5
|
2024-09-26 20:59:12 -05:00
|
|
|
with:
|
|
|
|
python-version: '3.x'
|
2024-03-01 01:43:25 +00:00
|
|
|
- uses: pre-commit/action@v3.0.1
|