From c0a8ffcbef0f056f0f747d7c6afe3563136734df Mon Sep 17 00:00:00 2001 From: albertony <12441419+albertony@users.noreply.github.com> Date: Sun, 23 Oct 2022 15:41:59 +0200 Subject: [PATCH] build: setup-go v3 improved semver notation --- .github/workflows/build.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2b349a3a9..76dcafdb5 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -30,7 +30,7 @@ jobs: include: - job_name: linux os: ubuntu-latest - go: '1.19.x' + go: '1.19' gotags: cmount build_flags: '-include "^linux/"' check: true @@ -41,14 +41,14 @@ jobs: - job_name: linux_386 os: ubuntu-latest - go: '1.19.x' + go: '1.19' goarch: 386 gotags: cmount quicktest: true - job_name: mac_amd64 os: macos-11 - go: '1.19.x' + go: '1.19' gotags: 'cmount' build_flags: '-include "^darwin/amd64" -cgo' quicktest: true @@ -57,14 +57,14 @@ jobs: - job_name: mac_arm64 os: macos-11 - go: '1.19.x' + go: '1.19' 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.19.x' + go: '1.19' gotags: cmount cgo: '0' build_flags: '-include "^windows/"' @@ -74,20 +74,20 @@ jobs: - job_name: other_os os: ubuntu-latest - go: '1.19.x' + go: '1.19' build_flags: '-exclude "^(windows/|darwin/|linux/)"' compile_all: true deploy: true - job_name: go1.17 os: ubuntu-latest - go: '1.17.x' + go: '1.17' quicktest: true racequicktest: true - job_name: go1.18 os: ubuntu-latest - go: '1.18.x' + go: '1.18' quicktest: true racequicktest: true @@ -249,7 +249,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v3 with: - go-version: 1.19.x + go-version: 1.19 - name: Go module cache uses: actions/cache@v3