We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 27df4ad commit b83aa30Copy full SHA for b83aa30
.github/workflows/test.yml
@@ -0,0 +1,23 @@
1
+on: [push, pull_request]
2
+name: "Tests"
3
+permissions:
4
+ contents: read
5
+env:
6
+ GO_STATIC_CHECK_VERSION: "2024.1.1"
7
+jobs:
8
+ scan-deduplicator:
9
+ name: "Scan Deduplicator"
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - uses: actions/checkout@v4
13
+ - uses: actions/setup-go@v5
14
+ with:
15
+ go-version-file: "go.mod"
16
+ cache-dependency-path: "go.sum"
17
+ - name: "Lint"
18
+ run: go vet ./...
19
+ - uses: dominikh/[email protected]
20
21
+ version: "${{ env.GO_STATIC_CHECK_VERSION }}"
22
+ - name: "Test"
23
+ run: go test -cover ./...
0 commit comments