Skip to content

Commit

Permalink
Made github actions use go 1.18 (#12454)
Browse files Browse the repository at this point in the history
* Made github actions use go 1.18

* Fetch go version from go.mod

* Switched to v3 of setup-go

* Checkout repo before trying to get go.mod from it
  • Loading branch information
melinath authored Sep 1, 2022
1 parent 7a83244 commit 6d94545
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ jobs:
runs-on: ubuntu-latest
steps:

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

- name: Set up Go 1.x
uses: actions/setup-go@37335c7bb261b353407cff977110895fa0b4f7d8
uses: actions/setup-go@v3
with:
go-version: ^1.16

- name: Check out code into the Go module directory
uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f
go-version-file: "go.mod"

- name: Get dependencies
run: |
Expand Down

0 comments on commit 6d94545

Please sign in to comment.