File tree Expand file tree Collapse file tree 2 files changed +40
-0
lines changed
Expand file tree Collapse file tree 2 files changed +40
-0
lines changed Original file line number Diff line number Diff line change 1+ # yaml-language-server: $schema=https://www.schemastore.org/github-workflow.json
2+
3+ name : CI
4+
5+ on :
6+ push :
7+ branches : [ main ]
8+ pull_request :
9+ branches : [ "**" ]
10+
11+ permissions :
12+ contents : read
13+
14+ jobs :
15+ pre-commit :
16+ runs-on : ubuntu-latest
17+ steps :
18+ - name : Checkout
19+ uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
20+ with :
21+ fetch-depth : 0
22+
23+ - name : Setup Python
24+ uses : actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
25+
26+ - name : pre-commit
27+ uses : pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1
28+ with :
29+ extra_args : --all --show-diff-on-failure --color=always
30+
31+ build :
32+ runs-on : ubuntu-latest
33+ steps :
34+ - uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
35+ - name : Build the Docker image
36+ run : docker build . --file Dockerfile
Original file line number Diff line number Diff line change 66 @flyctl deploy
77.PHONY : deploy
88
9+ lint :
10+ pre-commit run --all
11+ .PHONY : lint
12+
913ssh :
1014 @flyctl ssh console
1115.PHONY : ssh
You can’t perform that action at this time.
0 commit comments