Skip to content

Commit

Permalink
Update go versions we test on
Browse files Browse the repository at this point in the history
  • Loading branch information
gdamore committed Feb 17, 2024
1 parent 73528df commit e09566c
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.18
go-version: '1.22'
id: go

- name: Check out code into the Go module directory
Expand All @@ -35,4 +35,4 @@ jobs:
file: ./coverage.txt
flags: unittests
name: codecov-umbrella
yml: ./codecov.yml
yml: ./codecov.yml
8 changes: 6 additions & 2 deletions .github/workflows/darwin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,15 @@ jobs:
name: build
runs-on: [ macos-latest ]
steps:
strategy:
matrix:
go: [ '1.22', '1.20', '1.16' ]
steps:

- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.18
go-version: ${{ matrix.go }}
id: go

- name: Check out code into the Go module directory
Expand All @@ -23,4 +27,4 @@ jobs:
run: go build -v .

- name: Test
run: go test ./...
run: go test ./...
4 changes: 2 additions & 2 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
runs-on: [ ubuntu-latest ]
strategy:
matrix:
go: [ '1.18', '1.17', '1.16', '1.15', '1.14', '1.13' ]
go: [ '1.22', '1.21', '1.20', '1.18', '1.17', '1.16' ]
steps:

- name: Set up Go
Expand All @@ -29,4 +29,4 @@ jobs:
run: go build -v .

- name: Test
run: go test ./...
run: go test ./...
7 changes: 5 additions & 2 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,15 @@ jobs:
build:
name: build
runs-on: [ windows-latest ]
strategy:
matrix:
go: [ '1.22', '1.21', '1.20', '1.18', '1.17', '1.16' ]
steps:

- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.18
go-version: ${{ matrix.go }}
id: go

- name: Check out code into the Go module directory
Expand All @@ -23,4 +26,4 @@ jobs:
run: go build -v .

- name: Test
run: go test ./...
run: go test ./...

0 comments on commit e09566c

Please sign in to comment.