Skip to content

Commit

Permalink
build: update to go1.20
Browse files Browse the repository at this point in the history
Signed-off-by: Anagh Kumar Baranwal <[email protected]>
  • Loading branch information
darthShadow authored and ncw committed Feb 3, 2023
1 parent 34333d9 commit 3898d53
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
include:
- job_name: linux
os: ubuntu-latest
go: '1.20.0-rc.3'
go: '1.20'
gotags: cmount
build_flags: '-include "^linux/"'
check: true
Expand All @@ -43,14 +43,14 @@ jobs:

- job_name: linux_386
os: ubuntu-latest
go: '1.20.0-rc.3'
go: '1.20'
goarch: 386
gotags: cmount
quicktest: true

- job_name: mac_amd64
os: macos-11
go: '1.20.0-rc.3'
go: '1.20'
gotags: 'cmount'
build_flags: '-include "^darwin/amd64" -cgo'
quicktest: true
Expand All @@ -59,14 +59,14 @@ jobs:

- job_name: mac_arm64
os: macos-11
go: '1.20.0-rc.3'
go: '1.20'
gotags: 'cmount'
build_flags: '-include "^darwin/arm64" -cgo -macos-arch arm64 -cgo-cflags=-I/usr/local/include -cgo-ldflags=-L/usr/local/lib'
deploy: true

- job_name: windows
os: windows-latest
go: '1.20.0-rc.3'
go: '1.20'
gotags: cmount
cgo: '0'
build_flags: '-include "^windows/"'
Expand All @@ -76,7 +76,7 @@ jobs:

- job_name: other_os
os: ubuntu-latest
go: '1.20.0-rc.3'
go: '1.20'
build_flags: '-exclude "^(windows/|darwin/|linux/)"'
compile_all: true
deploy: true
Expand Down Expand Up @@ -239,7 +239,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v3
with:
go-version: 1.20.0-rc.3
go-version: '1.20'
check-latest: true

- name: Install govulncheck
Expand All @@ -264,7 +264,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.20.0-rc.3
go-version: '1.20'

- name: Go module cache
uses: actions/cache@v3
Expand Down

0 comments on commit 3898d53

Please sign in to comment.