Skip to content

Commit

Permalink
chore(ci): update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
alebabai authored Feb 9, 2023
1 parent ad62e79 commit b790115
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,23 +9,25 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v1
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: 1.16
- run: go version
- uses: actions/cache@v2
- uses: actions/cache@v3
with:
path: ~/go/pkg/mod
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Lint
uses: golangci/golangci-lint-action@v2
uses: golangci/golangci-lint-action@v3
with:
version: v1.48.0
version: v1.50
- name: Build
run: make build
- name: Test
run: make test
- uses: codecov/codecov-action@v1
- uses: codecov/codecov-action@v3

0 comments on commit b790115

Please sign in to comment.