Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ycai
simbricks
Commits
3101ecff
Commit
3101ecff
authored
Jun 10, 2022
by
Jonas Kaufmann
Committed by
Antoine Kaufmann
Jul 08, 2022
Browse files
adds a Github workflow for pre-commit
parent
b2c0142f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
0 deletions
+17
-0
.github/workflows/pre-commit.yml
.github/workflows/pre-commit.yml
+17
-0
No files found.
.github/workflows/pre-commit.yml
0 → 100644
View file @
3101ecff
name
:
pre-commit
on
:
pull_request
:
push
:
branches
:
[
main
]
jobs
:
pre-commit
:
runs-on
:
ubuntu-latest
steps
:
-
uses
:
actions/checkout@v3
-
uses
:
actions/setup-python@v4
with
:
python-version
:
'
3.10'
architecture
:
'
x64'
-
uses
:
pre-commit/action@v3.0.0
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment