Skip to content

Commit

Permalink
fix setup go in jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
almostinf committed Dec 3, 2023
1 parent f7c926b commit 515b567
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,8 @@ jobs:

- uses: actions/setup-go@v4
with:
go-version: 1.20.0
go-version-file: go.mod
env:
GOPATH: ${{ github.workspace }}/go
cache-dependency-path: go.sum

- name: Run linter
run: make lint
3 changes: 2 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ jobs:

- uses: actions/setup-go@v4
with:
go-version: 1.20.0
go-version-file: go.mod
cache-dependency-path: go.sum

- name: Build
run: go build -v ./...
Expand Down

0 comments on commit 515b567

Please sign in to comment.