File tree Expand file tree Collapse file tree 1 file changed +19
-18
lines changed
Expand file tree Collapse file tree 1 file changed +19
-18
lines changed Original file line number Diff line number Diff line change 88 workflow_dispatch :
99
1010jobs :
11-
12- build :
13- name : Build
11+ build-v2 :
12+ name : Build v2
1413 runs-on : ubuntu-latest
1514 strategy :
1615 matrix :
17- go : [ '^1.14 ', 'oldstable', 'stable' ]
16+ go : [ '^1.21 ', 'oldstable', 'stable' ]
1817 steps :
19- - name : Set up Go 1.x
20- uses : actions/setup-go@v3
18+ - uses : extractions/setup-just@v1
19+ - uses : actions/setup-go@v5
2120 with :
2221 go-version : ${{ matrix.go }}
23- id : go
24-
25- - name : Check out code into the Go module directory
26- uses : actions/checkout@v2
27-
28- - name : Debug
22+ - uses : actions/checkout@v4
23+ - name : Build
2924 run : |
30- pwd
31- echo ${HOME}
32- echo ${GITHUB_WORKSPACE}
33- echo ${GOPATH}
34- echo ${GOROOT}
25+ just
3526 env :
3627 GOPATH : /home/runner/work/go
37-
28+ build-v1 :
29+ name : Build v1
30+ runs-on : ubuntu-latest
31+ strategy :
32+ matrix :
33+ go : [ '^1.14', 'oldstable', 'stable' ]
34+ steps :
35+ - uses : actions/setup-go@v5
36+ with :
37+ go-version : ${{ matrix.go }}
38+ - uses : actions/checkout@v4
3839 - name : Build
3940 run : |
4041 mkdir -p $GOPATH/bin
You can’t perform that action at this time.
0 commit comments