Skip to content

Commit

Permalink
GitHub actions upgrade (#43)
Browse files Browse the repository at this point in the history
* Upgrade github action versions

* Fix actions/checkout version in linter.yml
  • Loading branch information
mennanov authored Feb 4, 2024
1 parent 0446ead commit 2de6178
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ jobs:
name: Coverage
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Setup Go 1.21
uses: actions/setup-go@v3
uses: actions/setup-go@v5
with:
go-version: '1.21'
- name: Run tests with coverage
run: go test -v -coverprofile=coverage.txt -covermode=atomic ./...
- uses: codecov/codecov-action@v3
- uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
verbose: true
4 changes: 2 additions & 2 deletions .github/workflows/linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ jobs:
name: Linter
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Setup Go 1.21
uses: actions/setup-go@v3
uses: actions/setup-go@v5
with:
go-version: '1.21'
- name: Go vet
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ jobs:
go-version: [ '1.15', '1.16', '1.17', '1.18', '1.19', '1.20', '1.21' ]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Setup Go ${{ matrix.go-version }}
uses: actions/setup-go@v3
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
- name: Run tests
Expand Down

0 comments on commit 2de6178

Please sign in to comment.