Merge pull request #109 from dmcgowan/update-gha
Update checkout and lint actions
This commit is contained in:
commit
bc84c40744
14
.github/workflows/ci.yml
vendored
14
.github/workflows/ci.yml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user