File tree Expand file tree Collapse file tree 1 file changed +15
-10
lines changed
Expand file tree Collapse file tree 1 file changed +15
-10
lines changed Original file line number Diff line number Diff line change 11on : [push, pull_request]
22name : CI
33jobs :
4- # ================
5- # TEST JOB
6- # runs on every push and PR
7- # runs 2x3 times (see matrix)
8- # ================
94 test :
105 name : Test
116 strategy :
127 matrix :
13- go-version : [1.23 .x]
8+ go-version : [1.21 .x]
149 platform : [ubuntu-latest]
1510 runs-on : ${{ matrix.platform }}
1611 steps :
12+ - name : Checkout Repository
13+ uses : actions/checkout@v4
14+
1715 - name : Install Go
18- uses : actions/setup-go@v3
16+ uses : actions/setup-go@v5
1917 with :
2018 go-version : ${{ matrix.go-version }}
21- - name : Checkout code
22- uses : actions/checkout@v3
19+
20+ - name : Verify Go Version & Modules
21+ run : |
22+ go version
23+ ls -la
24+ cat go.mod || echo "go.mod not found"
25+
2326 - name : Build
2427 run : go build -v -o /dev/null .
28+
2529 - name : Test
26- run : go test -v ./..
30+ run : go test -v ./...
31+
You can’t perform that action at this time.
0 commit comments