Skip to content

Commit

Permalink
chore: update and fix broken go-test.yml (#105)
Browse files Browse the repository at this point in the history
* chore: update go-test.yml
  • Loading branch information
rhnvrm authored May 29, 2024
1 parent b92bf55 commit 06945e3
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions .github/workflows/go-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,26 +8,22 @@ on:

jobs:
test:
## We want to define a strategy for our job
strategy:
## this will contain a matrix of all of the combinations
## we wish to test again:
matrix:
go-version: [1.14.x, 1.15.x, 1.16.x, 1.17.x, 1.18.x]
platform: [ubuntu-latest, macos-latest, windows-latest]
go-version: ["1.18", "1.20", "1.21", "1.22"]
platform: [ubuntu-latest]

## Defines the platform for each test run
runs-on: ${{ matrix.platform }}

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
submodules: true

- name: Set up Go
uses: actions/setup-go@v2
uses: actions/setup-go@v5
with:
go-version: 1.15

go-version: ${{ matrix.go }}
check-latest: true
- name: Run Go Test
run: go test -v ./...

0 comments on commit 06945e3

Please sign in to comment.