Skip to content

Commit 4a2816b

Browse files
authored
Merge pull request #161 from austinvazquez/update-ci
Update GitHub Actions CI to resolve deprecation warnings
2 parents faba589 + 589a593 commit 4a2816b

File tree

1 file changed

+20
-20
lines changed

1 file changed

+20
-20
lines changed

.github/workflows/ci.yml

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -27,16 +27,16 @@ jobs:
2727
os: [ubuntu-latest, macos-latest, windows-latest]
2828

2929
steps:
30-
- uses: actions/checkout@v3
30+
- uses: actions/checkout@v4
3131
with:
3232
path: src/github.com/containerd/ttrpc
3333

34-
- uses: actions/setup-go@v3
34+
- uses: actions/setup-go@v5
3535
with:
3636
go-version: ${{ env.GO_VERSION }}
3737

3838
- name: golangci-lint
39-
uses: golangci/golangci-lint-action@v3
39+
uses: golangci/golangci-lint-action@v4
4040
with:
4141
version: v1.51.2
4242
args: --timeout=5m
@@ -57,15 +57,15 @@ jobs:
5757
timeout-minutes: 5
5858

5959
steps:
60-
- uses: actions/setup-go@v3
61-
with:
62-
go-version: ${{ env.GO_VERSION }}
63-
64-
- uses: actions/checkout@v3
60+
- uses: actions/checkout@v4
6561
with:
6662
path: src/github.com/containerd/ttrpc
6763
fetch-depth: 25
6864

65+
- uses: actions/setup-go@v5
66+
with:
67+
go-version: ${{ env.GO_VERSION }}
68+
6969
- uses: containerd/project-checks@v1.1.0
7070
with:
7171
working-directory: src/github.com/containerd/ttrpc
@@ -85,16 +85,16 @@ jobs:
8585
timeout-minutes: 10
8686
steps:
8787

88-
- uses: actions/setup-go@v3
89-
with:
90-
go-version: ${{ matrix.go }}
91-
9288
- name: Check out code
93-
uses: actions/checkout@v3
89+
uses: actions/checkout@v4
9490
with:
9591
path: src/github.com/containerd/ttrpc
9692
fetch-depth: 25
9793

94+
- uses: actions/setup-go@v5
95+
with:
96+
go-version: ${{ matrix.go }}
97+
9898
- name: Test
9999
working-directory: src/github.com/containerd/ttrpc
100100
run: |
@@ -119,7 +119,13 @@ jobs:
119119
timeout-minutes: 5
120120
steps:
121121

122-
- uses: actions/setup-go@v3
122+
- name: Check out code
123+
uses: actions/checkout@v4
124+
with:
125+
path: src/github.com/containerd/ttrpc
126+
fetch-depth: 25
127+
128+
- uses: actions/setup-go@v5
123129
with:
124130
go-version: ${{ env.GO_VERSION }}
125131
id: go
@@ -130,12 +136,6 @@ jobs:
130136
echo "GOPATH=${{ github.workspace }}" >> $GITHUB_ENV
131137
echo "${{ github.workspace }}/bin" >> $GITHUB_PATH
132138
133-
- name: Check out code
134-
uses: actions/checkout@v3
135-
with:
136-
path: src/github.com/containerd/ttrpc
137-
fetch-depth: 25
138-
139139
- name: Install dependencies
140140
working-directory: src/github.com/containerd/ttrpc
141141
run: |

0 commit comments

Comments
 (0)