File tree Expand file tree Collapse file tree 3 files changed +32
-15
lines changed Expand file tree Collapse file tree 3 files changed +32
-15
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -4,4 +4,35 @@ on: ["push", "pull_request"]
44permissions :
55 contents : read
66
7- jobs : {}
7+ jobs :
8+ lint :
9+ runs-on : ubuntu-latest
10+ steps :
11+ - uses : actions/checkout@v4
12+ - uses : actions/setup-go@v5
13+ with :
14+ go-version-file : go.mod
15+ cache : true
16+ - run : make all
17+ - uses : dominikh/staticcheck-action@v1.3.1
18+ with :
19+ version : " 2023.1.7"
20+ install-go : false
21+ - name : Verify repo is up-to-date
22+ run : |
23+ if [ -n "$(git status --porcelain)" ]; then
24+ echo 'Updates required:'
25+ git diff
26+ exit 1
27+ fi
28+
29+ run-tests :
30+ runs-on : ubuntu-latest
31+ steps :
32+ - uses : actions/checkout@v4
33+ - uses : actions/setup-go@v5
34+ with :
35+ go-version-file : go.mod
36+ cache : true
37+ - name : Run tests
38+ run : make test
File renamed without changes.
You can’t perform that action at this time.
0 commit comments