File tree Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Test
2+ on :
3+ push :
4+ branches :
5+ - master
6+ pull_request :
7+ branches :
8+ - master
9+
10+ permissions :
11+ contents : read
12+
13+ jobs :
14+ test :
15+ runs-on : ubuntu-latest
16+ strategy :
17+ matrix :
18+ # Test currently supported Go releases.
19+ #
20+ # See: https://go.dev/doc/devel/release#policy
21+ go-version :
22+ - stable
23+ - oldstable
24+
25+ steps :
26+ - uses : actions/checkout@v4
27+
28+ - name : Set up Go ${{ matrix.go-version }}
29+ uses : actions/setup-go@v5
30+ with :
31+ go-version : ${{ matrix.go-version }}
32+ # Caching isn't really needed without any dependencies,
33+ # and without a go.sum this action will emit warnings.
34+ #
35+ # See: https://github.com/actions/setup-go/issues/476
36+ cache : false
37+
38+ - name : Test
39+ run : go test -v ./...
You can’t perform that action at this time.
0 commit comments