-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update GitHub Actions CI to resolve deprecation warnings
Signed-off-by: Austin Vazquez <[email protected]> (cherry picked from commit 589a593) Signed-off-by: Austin Vazquez <[email protected]>
- Loading branch information
1 parent
6b44150
commit cbe7b61
Showing
1 changed file
with
17 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,15 +23,15 @@ jobs: | |
timeout-minutes: 5 | ||
|
||
steps: | ||
- uses: actions/setup-go@v3 | ||
with: | ||
go-version: ${{ env.GO_VERSION }} | ||
|
||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
with: | ||
path: src/github.com/containerd/ttrpc | ||
fetch-depth: 25 | ||
|
||
- uses: actions/setup-go@v5 | ||
with: | ||
go-version: ${{ env.GO_VERSION }} | ||
|
||
- uses: containerd/[email protected] | ||
with: | ||
working-directory: src/github.com/containerd/ttrpc | ||
|
@@ -51,16 +51,16 @@ jobs: | |
timeout-minutes: 5 | ||
steps: | ||
|
||
- uses: actions/setup-go@v3 | ||
with: | ||
go-version: ${{ matrix.go }} | ||
|
||
- name: Check out code | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
with: | ||
path: src/github.com/containerd/ttrpc | ||
fetch-depth: 25 | ||
|
||
- uses: actions/setup-go@v5 | ||
with: | ||
go-version: ${{ matrix.go }} | ||
|
||
- name: Test | ||
working-directory: src/github.com/containerd/ttrpc | ||
run: | | ||
|
@@ -72,7 +72,13 @@ jobs: | |
timeout-minutes: 5 | ||
steps: | ||
|
||
- uses: actions/setup-go@v3 | ||
- name: Check out code | ||
uses: actions/checkout@v4 | ||
with: | ||
path: src/github.com/containerd/ttrpc | ||
fetch-depth: 25 | ||
|
||
- uses: actions/setup-go@v5 | ||
with: | ||
go-version: ${{ env.GO_VERSION }} | ||
id: go | ||
|
@@ -83,12 +89,6 @@ jobs: | |
echo "GOPATH=${{ github.workspace }}" >> $GITHUB_ENV | ||
echo "${{ github.workspace }}/bin" >> $GITHUB_PATH | ||
- name: Check out code | ||
uses: actions/checkout@v3 | ||
with: | ||
path: src/github.com/containerd/ttrpc | ||
fetch-depth: 25 | ||
|
||
- name: Install protoc | ||
run: | | ||
curl -LO https://github.com/protocolbuffers/protobuf/releases/download/v3.5.0/protoc-3.5.0-linux-x86_64.zip | ||
|