File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1010 branches : [ "master" ]
1111
1212jobs :
13+ go-versions :
14+ name : Lookup Go versions
15+ runs-on : ubuntu-latest
16+ outputs :
17+ matrix : ${{ steps.versions.outputs.matrix }}
18+ steps :
19+ - uses : actions/checkout@v3
20+ - uses : arnested/go-version-action@v2
21+ id : versions
1322
1423 build :
24+ name : Test
1525 runs-on : ubuntu-latest
26+ needs : go-versions
27+ strategy :
28+ matrix :
29+ version : ${{ fromJSON(needs.go-versions.outputs.matrix) }}
1630 steps :
17- - uses : actions/checkout@v3
18-
19- - name : Set up Go
20- uses : actions/setup-go@v5
21- with :
22- go-version : oldstable
31+ - uses : actions/checkout@v3
32+ - name : Set up Go
33+ uses : actions/setup-go@v5
34+ with :
35+ go-version : ${{ matrix.version }}
36+ check-latest : true
2337
24- - name : Build
25- run : go build -v ./...
38+ - name : Build
39+ run : go build -v ./...
2640
27- - name : Test
28- run : go test -v ./...
41+ - name : Test
42+ run : go run github.com/onsi/ginkgo/v2/ginkgo -v -r --randomize-suites --randomize-all -race
You can’t perform that action at this time.
0 commit comments