Bump GitHub workflow actions to latest versions (#707)
This commit is contained in:
committed by
GitHub
parent
ea551f422e
commit
2446f08f94
2
.github/workflows/close-inactive-issues.yml
vendored
2
.github/workflows/close-inactive-issues.yml
vendored
@@ -10,7 +10,7 @@ jobs:
|
|||||||
issues: write
|
issues: write
|
||||||
pull-requests: write
|
pull-requests: write
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/stale@v5
|
- uses: actions/stale@v9
|
||||||
with:
|
with:
|
||||||
days-before-issue-stale: 30
|
days-before-issue-stale: 30
|
||||||
days-before-issue-close: 14
|
days-before-issue-close: 14
|
||||||
|
|||||||
10
.github/workflows/pr.yml
vendored
10
.github/workflows/pr.yml
vendored
@@ -9,19 +9,19 @@ jobs:
|
|||||||
name: Sanity check
|
name: Sanity check
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v4
|
||||||
- name: Setup Go
|
- name: Setup Go
|
||||||
uses: actions/setup-go@v2
|
uses: actions/setup-go@v5
|
||||||
with:
|
with:
|
||||||
go-version: '1.19'
|
go-version: '1.21'
|
||||||
- name: Run vet
|
- name: Run vet
|
||||||
run: |
|
run: |
|
||||||
go vet .
|
go vet .
|
||||||
- name: Run golangci-lint
|
- name: Run golangci-lint
|
||||||
uses: golangci/golangci-lint-action@v3
|
uses: golangci/golangci-lint-action@v4
|
||||||
with:
|
with:
|
||||||
version: latest
|
version: latest
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: go test -race -covermode=atomic -coverprofile=coverage.out -v .
|
run: go test -race -covermode=atomic -coverprofile=coverage.out -v .
|
||||||
- name: Upload coverage reports to Codecov
|
- name: Upload coverage reports to Codecov
|
||||||
uses: codecov/codecov-action@v3
|
uses: codecov/codecov-action@v4
|
||||||
|
|||||||
Reference in New Issue
Block a user