Skip to content

Commit

Permalink
Remove go 1.6 on macos test run (#143)
Browse files Browse the repository at this point in the history
  • Loading branch information
Frassle authored Mar 27, 2022
1 parent a24f880 commit 6eb8749
Showing 1 changed file with 17 additions and 10 deletions.
27 changes: 17 additions & 10 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,26 @@ jobs:
runs-on: ${{ matrix.platform }}

strategy:
matrix:
platform:
- ubuntu-latest
- macos-latest
go_version:
# Test the oldest release we targeted and the two currently supported releases (https://go.dev/doc/devel/release#policy)
- 1.6.x
- 1.17.x
- 1.18.x
matrix:
platform:
- ubuntu-latest
- macos-latest
go_version:
# Test the two currently supported releases (https://go.dev/doc/devel/release#policy)
- 1.17.x
- 1.18.x
include:
# Also sanity test a very old release on linux
- platform: ubuntu-latest
go_version: 1.6.x

steps:
# 1.6 doesn't seem to default GOPATH to anything, so we set it explicitly here
- name: Set GOPATH
run: echo "GOPATH=$HOME/go" >> $GITHUB_ENV

- name: Set up Go ${{ matrix.go_version }}
uses: actions/setup-go@v2
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go_version }}
check-latest: true
Expand Down

0 comments on commit 6eb8749

Please sign in to comment.