mirror of
https://github.com/crate-ci/typos.git
synced 2024-11-28 20:11:05 -05:00
24 lines
360 B
YAML
24 lines
360 B
YAML
|
name: pre-commit
|
||
|
|
||
|
permissions: {} # none
|
||
|
|
||
|
on:
|
||
|
pull_request:
|
||
|
push:
|
||
|
branches: [main]
|
||
|
|
||
|
env:
|
||
|
RUST_BACKTRACE: 1
|
||
|
CARGO_TERM_COLOR: always
|
||
|
CLICOLOR: 1
|
||
|
|
||
|
jobs:
|
||
|
pre-commit:
|
||
|
permissions:
|
||
|
contents: read
|
||
|
runs-on: ubuntu-latest
|
||
|
steps:
|
||
|
- uses: actions/checkout@v3
|
||
|
- uses: actions/setup-python@v4
|
||
|
- uses: pre-commit/action@v3.0.0
|