mirror of https://github.com/llvm/torch-mlir
16 lines
312 B
YAML
16 lines
312 B
YAML
|
name: pre-commit (all files on push)
|
||
|
|
||
|
on:
|
||
|
push:
|
||
|
branches: [main, post-commit-test]
|
||
|
|
||
|
jobs:
|
||
|
pre-commit:
|
||
|
runs-on: ubuntu-latest
|
||
|
steps:
|
||
|
- uses: actions/checkout@v3
|
||
|
- uses: actions/setup-python@v3
|
||
|
- uses: pre-commit/action@v3.0.1
|
||
|
with:
|
||
|
extra_args: --color=always --all-files
|