Add job serialisation and save options. Save job to model dir when ru… #44
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Black Linter | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- elpis/**.py | |
pull_request: | |
branches: | |
- main | |
paths: | |
- elpis/**.py | |
jobs: | |
lint: | |
name: Run Black | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: psf/black@stable | |
with: | |
options: "--check --verbose" | |
src: "." | |
version: "~= 22.3" |