Skip to content

Commit

Permalink
Fix out-of-date workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
myaaaaaaaaa committed Jul 2, 2024
1 parent 07e5d0e commit 6ad0279
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,23 +7,27 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
go-version: [1.17, 1.12]
go-version: ['stable']
os: [macos-latest, windows-latest, ubuntu-latest]
include:
- os: ubuntu-latest
go-version: ''

steps:
- name: Install dependencies (linux)
if: ${{ matrix.os == 'ubuntu-latest' }}
run: sudo apt-get update && sudo apt-get install libgl1-mesa-dev

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

- name: Check out module
uses: actions/checkout@v2
with:
fetch-depth: 1

- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: ${{matrix.go-version}}
go-version-file: go.mod

- name: Run tests
run: go test -v -race ./...

0 comments on commit 6ad0279

Please sign in to comment.