Skip to content

Commit c8bda0f

Browse files
committed
Update GitHub actions CI workflow
Updates actions runner OS from Ubuntu 18.04 to Ubuntu 22.04. Updates actions/checkout and actions/setup-go packages from v2 to v3. Updates golangci/golangci-lint from v1.44.0 to v1.50.1. Signed-off-by: Austin Vazquez <[email protected]>
1 parent f6c071f commit c8bda0f

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@ jobs:
1010

1111
build:
1212
name: Console CI
13-
runs-on: ubuntu-18.04
13+
runs-on: ubuntu-22.04
1414
timeout-minutes: 5
1515
steps:
1616

1717
- name: Set up Go
18-
uses: actions/setup-go@v2
18+
uses: actions/setup-go@v3
1919
with:
20-
go-version: 1.17.x
20+
go-version: 1.19.x
2121
id: go
2222

2323
- name: Setup Go binary path
@@ -27,13 +27,13 @@ jobs:
2727
echo "${{ github.workspace }}/bin" >> $GITHUB_PATH
2828
2929
- name: Check out code
30-
uses: actions/checkout@v2
30+
uses: actions/checkout@v3
3131
with:
3232
path: src/github.com/containerd/console
3333
fetch-depth: 25
3434

3535
- name: Checkout project
36-
uses: actions/checkout@v2
36+
uses: actions/checkout@v3
3737
with:
3838
repository: containerd/project
3939
path: src/github.com/containerd/project
@@ -42,7 +42,7 @@ jobs:
4242
run: |
4343
go install github.com/vbatts/git-validation@latest
4444
go install github.com/kunalkushwaha/ltag@latest
45-
go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.44.0
45+
go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.50.1
4646
4747
- name: Check DCO/whitespace/commit message
4848
env:

0 commit comments

Comments
 (0)