Skip to content

Commit

Permalink
Bump Go version in GH actions (close #30)
Browse files Browse the repository at this point in the history
  • Loading branch information
colmsnowplow authored and TiganeteaRobert committed Jun 3, 2022
1 parent 67dbd2f commit 63182f4
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/prerelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Validate input
run: |
Expand All @@ -32,7 +32,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v3
with:
go-version: '1.15'
go-version: '>=1.18'

- name: Test
run: go test ./analytics
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Only run on master
run: |
Expand All @@ -37,9 +37,9 @@ jobs:
fi
- name: Setup Go
uses: actions/setup-go@v2
uses: actions/setup-go@v3
with:
go-version: '1.15'
go-version: '>=1.18'

- name: Test
run: go test ./analytics
Expand Down
10 changes: 7 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,18 @@ jobs:
build:
runs-on: ubuntu-20.04

strategy:
matrix:
go: ['1.15', '1.16', '1.17', '1.18']

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Setup Go
uses: actions/setup-go@v2
uses: actions/setup-go@v3
with:
go-version: '1.15'
go-version: ${{ matrix.go }}

- name: Test
run: go test ./analytics
Expand Down

0 comments on commit 63182f4

Please sign in to comment.