From a24422fe552999321004ee3888d806ff20ed1e3b Mon Sep 17 00:00:00 2001 From: Kishan B Date: Sun, 8 Aug 2021 16:38:25 +0530 Subject: [PATCH 1/4] Add 1.16.x to the build matrix --- .github/workflows/test.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d45c631..6d6ff09 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -20,6 +20,7 @@ jobs: - 1.13.x - 1.14.x - 1.15.x + - 1.16.x go-flags: [""] os: [ubuntu-latest, macos-latest, windows-latest] include: @@ -50,6 +51,9 @@ jobs: - go-version: 1.15.x os: windows-latest go-flags: "-trimpath" + - go-version: 1.16.x + os: windows-latest + go-flags: "-trimpath" runs-on: ${{ matrix.os }} steps: - name: Install Go From b8d3e4b24471e78db7ed28379acbec5de684e7ca Mon Sep 17 00:00:00 2001 From: Kishan B Date: Sun, 8 Aug 2021 22:52:51 +0530 Subject: [PATCH 2/4] Add ubuntu and mac to the 1.16.x build matrix --- .github/workflows/test.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 6d6ff09..88e6eaa 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -51,6 +51,12 @@ jobs: - go-version: 1.15.x os: windows-latest go-flags: "-trimpath" + - go-version: 1.16.x + os: ubuntu-latest + go-flags: "-trimpath" + - go-version: 1.16.x + os: macos-latest + go-flags: "-trimpath" - go-version: 1.16.x os: windows-latest go-flags: "-trimpath" From fd3515b962e7f00ff6b38576fdac6b07538bb92f Mon Sep 17 00:00:00 2001 From: Kishan B Date: Wed, 18 Aug 2021 10:15:22 +0530 Subject: [PATCH 3/4] Add go lang 1.17 to the list of go versions --- .github/workflows/test.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 88e6eaa..2b748f6 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -21,6 +21,7 @@ jobs: - 1.14.x - 1.15.x - 1.16.x + - 1.17.x go-flags: [""] os: [ubuntu-latest, macos-latest, windows-latest] include: @@ -60,6 +61,15 @@ jobs: - go-version: 1.16.x os: windows-latest go-flags: "-trimpath" + - go-version: 1.17.x + os: ubuntu-latest + go-flags: "-trimpath" + - go-version: 1.17.x + os: macos-latest + go-flags: "-trimpath" + - go-version: 1.17.x + os: windows-latest + go-flags: "-trimpath" runs-on: ${{ matrix.os }} steps: - name: Install Go From faff128c9f84974c6887f7d9207459689bb4675c Mon Sep 17 00:00:00 2001 From: Kishan B Date: Wed, 18 Aug 2021 10:17:20 +0530 Subject: [PATCH 4/4] Add working directory explicitly to the build --- .github/workflows/test.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2b748f6..9d89722 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -84,4 +84,5 @@ jobs: env: GOPATH: "${{github.workspace}}" GOFLAGS: ${{ matrix.go-flags }} + working-directory: "${{github.workspace}}/src/github.com/${{github.repository}}" run: go test ./...