File tree Expand file tree Collapse file tree 3 files changed +41
-12
lines changed Expand file tree Collapse file tree 3 files changed +41
-12
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ name : CI
2+ on :
3+ # Trigger the workflow on push or pull request,
4+ # but only for the master branch
5+ push :
6+ branches :
7+ - master
8+ pull_request :
9+ branches :
10+ - master
11+ jobs :
12+ base :
13+ runs-on : ubuntu-latest
14+ container :
15+ image : " python:3.8.3"
16+ name : " Base pipeline"
17+ steps :
18+ - uses : actions/checkout@v2
19+ - name : " Pre-commit checks"
20+ run : |
21+ pip install pre-commit
22+ pre-commit run --all-files --show-diff-on-failure --color=always
23+ - name : shellcheck
24+ uses : ludeeus/action-shellcheck@0.1.0
25+ bumpAndTag :
26+ runs-on : ubuntu-latest
27+ name : " Bump and Tag"
28+ needs : [base]
29+ if : github.ref == 'refs/heads/master'
30+ steps :
31+ - uses : actions/checkout@v2
32+ - name : " Bump version and push tag"
33+ uses : anothrNick/github-tag-action@1b82315fa74a0572aa0bc1a96b859c57fc26e531
34+ env :
35+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
36+ WITH_V : false
Original file line number Diff line number Diff line change 1+ repos :
2+ - repo : https://github.com/prettier/prettier
3+ rev : " 2.0.5"
4+ hooks :
5+ - id : prettier
You can’t perform that action at this time.
0 commit comments