We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 03ab850 + 1239bd4 commit 0a9b51aCopy full SHA for 0a9b51a
.drone.yml
.github/workflows/ci.yml
@@ -0,0 +1,27 @@
1
+name: ci
2
+
3
+on:
4
+ pull_request:
5
+ push:
6
+ branches:
7
+ - main
8
9
+jobs:
10
+ test:
11
+ runs-on: ubuntu-latest
12
+ container:
13
+ image: golang
14
+ steps:
15
+ - name: Check out source code
16
+ uses: actions/checkout@v4
17
18
+ - name: Run go test
19
+ run: go test -cover ./...
20
21
+ - name: Install staticcheck
22
+ run: go install honnef.co/go/tools/cmd/staticcheck@latest
23
24
+ - name: Run staticcheck
25
+ run: |
26
+ chown -R root:root .
27
+ staticcheck ./...
0 commit comments