Skip to content

Commit

Permalink
go version from go.mod
Browse files Browse the repository at this point in the history
  • Loading branch information
bakito committed Oct 16, 2022
1 parent c616989 commit 70f349b
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: Set up Go 1.1x
uses: actions/setup-go@v2
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: ^1.18
id: go
go-version-file: "go.mod"

- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
Expand All @@ -28,15 +28,14 @@ jobs:
runs-on: ubuntu-latest
steps:

- name: Set up Go 1.1x
uses: actions/setup-go@v2
with:
go-version: ^1.18
id: go

- name: Check out code into the Go module directory
uses: actions/checkout@v3

- name: Set up Go
uses: actions/setup-go@v3
with:
go-version-file: "go.mod"

- name: Test
run: make test

Expand Down

0 comments on commit 70f349b

Please sign in to comment.