Skip to content

Commit

Permalink
Use Go 1.18 in lint and tests
Browse files Browse the repository at this point in the history
  • Loading branch information
samlown committed Sep 21, 2023
1 parent 8a75157 commit b72dd0c
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
steps:
- uses: actions/setup-go@v4
with:
go-version: "1.17"
go-version: "1.18"
cache: false

- name: Check out code
Expand Down
26 changes: 13 additions & 13 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,19 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Set up Go
uses: actions/setup-go@v1
with:
go-version: '1.16.2'
id: go
- name: Set up Go
uses: actions/setup-go@v1
with:
go-version: "1.18"
id: go

- name: Check out code
uses: actions/checkout@v2
- name: Check out code
uses: actions/checkout@v2

- name: Install Dependencies
env:
GOPROXY: https://proxy.golang.org,direct
run: go mod download
- name: Install Dependencies
env:
GOPROXY: https://proxy.golang.org,direct
run: go mod download

- name: Test
run: go test -tags unit -race ./...
- name: Test
run: go test -tags unit -race ./...

0 comments on commit b72dd0c

Please sign in to comment.