mirror of
https://github.com/andreinechaev/nvcc4jupyter.git
synced 2026-06-14 03:00:47 +05:30
Add github workflow to check pre-commit hooks on all files on master branch
This commit is contained in:
@@ -0,0 +1,22 @@
|
|||||||
|
# Same as `code-quality-pr.yaml` but triggered on commit to master branch
|
||||||
|
# and runs on all files (instead of only the changed ones)
|
||||||
|
|
||||||
|
name: Code Quality Master
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [master]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
code-quality:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- name: Set up Python
|
||||||
|
uses: actions/setup-python@v2
|
||||||
|
|
||||||
|
- name: Run pre-commits
|
||||||
|
uses: pre-commit/action@v2.0.3
|
||||||
Reference in New Issue
Block a user