Skip to content

Commit cbddbd7

Browse files
authored
Merge pull request #21 from solo-io/gha-deps
Bump Github Actions versions
2 parents 3c89ddc + 80d83a5 commit cbddbd7

File tree

1 file changed

+7
-13
lines changed

1 file changed

+7
-13
lines changed

.github/workflows/pull_request.yaml

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3,26 +3,20 @@ on: pull_request
33
jobs:
44
unit_tests:
55
name: unit tests
6-
runs-on: ubuntu-18.04
6+
runs-on: ubuntu-22.04
77
steps:
88
- name: Cancel Previous Actions
9-
uses: styfle/cancel-workflow-action@0.4.1
9+
uses: styfle/cancel-workflow-action@0.11.0
1010
with:
1111
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
1712
- name: Check out code into the Go module directory
18-
uses: actions/checkout@v2
13+
uses: actions/checkout@v3
1914
with:
2015
fetch-depth: 0
21-
- uses: actions/cache@v1
16+
- name: Set up Go
17+
uses: actions/setup-go@v4
2218
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
2721
- name: Test
2822
run: make install-go-tools run-tests

0 commit comments

Comments
 (0)