Skip to content

Commit

Permalink
ci: Test against Windows, Go 1.21, 1.22
Browse files Browse the repository at this point in the history
Upgrade to Go 1.21, 1.22 since those are the two latest versions.

Plus Fx supports Windows and has tests against it,
so Dig should test against it too.
  • Loading branch information
abhinav committed Feb 26, 2024
1 parent 59e9f76 commit 44b3dd3
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,12 @@ permissions:
jobs:

build:
runs-on: ubuntu-latest
name: Test (Go ${{ matrix.go }})
runs-on: ${{ matrix.os }}
name: Test (Go ${{ matrix.go }} / ${{ matrix.os }})
strategy:
matrix:
go: ["1.20.x", "1.21.x"]
os: ["ubuntu-latest", "windows-latest"]
go: ["1.21.x", "1.22.x"]

steps:
- name: Setup Go
Expand Down Expand Up @@ -48,7 +49,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: 1.21.x
go-version: 1.22.x
cache: false # managed by golangci-lint

- uses: golangci/golangci-lint-action@v3
Expand Down

0 comments on commit 44b3dd3

Please sign in to comment.