We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a50a595 commit 0806c75Copy full SHA for 0806c75
.github/workflows/go.yml
@@ -0,0 +1,27 @@
1
+name: Go
2
+on: [push]
3
+jobs:
4
+ go-test:
5
+ strategy:
6
+ matrix:
7
+ go-version: ['1.22', '1.21']
8
+ runs-on: ubuntu-latest
9
+ name: go test
10
+ steps:
11
+ - uses: actions/checkout@v4
12
+ - uses: actions/setup-go@v5
13
+ with:
14
+ go-version: ${{ matrix.go-version }}
15
+ check-latest: true
16
+ - run: go test -v -race ./...
17
+ govulncheck:
18
19
20
21
22
+ name: govulncheck
23
24
+ - uses: golang/govulncheck-action@v1
25
26
+ go-version-input: ${{ matrix.go-version }}
27
go.mod
@@ -1,3 +1,3 @@
module github.com/buth/diff
-go 1.19
+go 1.21.0
0 commit comments