Update checkout and lint actions

Signed-off-by: Derek McGowan <derek@mcg.dev>
This commit is contained in:
Derek McGowan 2022-04-07 11:56:32 -07:00
parent b194a107f3
commit ff1e359daa

View File

@ -25,13 +25,13 @@ jobs:
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: golangci-lint
uses: golangci/golangci-lint-action@v2
uses: golangci/golangci-lint-action@v3
with:
version: v1.43.0
version: v1.45.0
args: --timeout=5m
only-new-issues: true
skip-cache: true
- name: golangci-lint errors
run: golangci-lint run
if: ${{ failure() }}
@ -49,7 +49,7 @@ jobs:
with:
go-version: '1.17'
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
path: src/github.com/containerd/ttrpc
fetch-depth: 25
@ -76,7 +76,7 @@ jobs:
go-version: '1.17'
- name: Check out code
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
path: src/github.com/containerd/ttrpc
fetch-depth: 25
@ -114,7 +114,7 @@ jobs:
echo "${{ github.workspace }}/bin" >> $GITHUB_PATH
- name: Check out code
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
path: src/github.com/containerd/ttrpc
fetch-depth: 25