build with go1.20 (#854)

* build with go1.20

This has been out for a bit and is up to go1.20.4. We have been using
go1.20 for the Slack builds and have seen no issues.

* need the quotes

* use go install
This commit is contained in:
Wade Simmons
2023-05-04 11:35:03 -04:00
committed by GitHub
parent 397fe5f879
commit 58ec1f7a7b
6 changed files with 27 additions and 28 deletions

View File

@@ -18,10 +18,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.19
- name: Set up Go 1.20
uses: actions/setup-go@v2
with:
go-version: 1.19
go-version: "1.20"
id: go
- name: Check out code into the Go module directory
@@ -30,9 +30,9 @@ jobs:
- uses: actions/cache@v2
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go1.19-${{ hashFiles('**/go.sum') }}
key: ${{ runner.os }}-go1.20-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go1.19-
${{ runner.os }}-go1.20-
- name: build
run: make bin-docker