File tree Expand file tree Collapse file tree 1 file changed +7
-13
lines changed Expand file tree Collapse file tree 1 file changed +7
-13
lines changed Original file line number Diff line number Diff line change @@ -3,26 +3,20 @@ on: pull_request
3
3
jobs :
4
4
unit_tests :
5
5
name : unit tests
6
- runs-on : ubuntu-18 .04
6
+ runs-on : ubuntu-22 .04
7
7
steps :
8
8
- name : Cancel Previous Actions
9
- uses : styfle/cancel-workflow-action@0.4.1
9
+ uses : styfle/cancel-workflow-action@0.11.0
10
10
with :
11
11
access_token : ${{ github.token }}
12
- - name : Set up Go 1.14
13
- uses : actions/setup-go@v1
14
- with :
15
- go-version : 1.14
16
- id : go
17
12
- name : Check out code into the Go module directory
18
- uses : actions/checkout@v2
13
+ uses : actions/checkout@v3
19
14
with :
20
15
fetch-depth : 0
21
- - uses : actions/cache@v1
16
+ - name : Set up Go
17
+ uses : actions/setup-go@v4
22
18
with :
23
- path : ~/go/pkg/mod
24
- key : ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
25
- restore-keys : |
26
- ${{ runner.os }}-go-
19
+ go-version-file : " go.mod"
20
+ id : go
27
21
- name : Test
28
22
run : make install-go-tools run-tests
You can’t perform that action at this time.
0 commit comments