Merge pull request #109 from dmcgowan/update-gha

Update checkout and lint actions
This commit is contained in:
Derek McGowan 2022-04-07 17:10:56 -07:00 committed by GitHub
commit bc84c40744
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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