Skip to content

Commit

Permalink
try cache and checkout@v4
Browse files Browse the repository at this point in the history
  • Loading branch information
akramarenkov committed Jan 11, 2024
1 parent afc07f0 commit c7ca1ca
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 10 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,10 @@ jobs:
coverage:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version: '1.21'
cache: false
- run: |
go test -coverprofile=coverage.out -covermode=atomic ./...
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- go
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
Expand Down
12 changes: 5 additions & 7 deletions .github/workflows/lint-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,17 @@ jobs:
- uses: actions/setup-go@v4
with:
go-version: '1.21'
cache: false
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- run: |
go test -v -race ./...
go test -v -race -bench=^BenchmarkRace ./...
for dir in v[0-9]*;
do
test -d "${dir}" || continue
cd "${dir}" || continue
go test -v -race ./...
go test -v -race -bench=^BenchmarkRace ./...
cd ..
done
Expand All @@ -36,8 +35,7 @@ jobs:
- uses: actions/setup-go@v4
with:
go-version: '1.21'
cache: false
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: golangci/golangci-lint-action@v3
with:
version: v1.55.2
version: v1.55.2

0 comments on commit c7ca1ca

Please sign in to comment.