Skip to content

Commit

Permalink
build: only run tests, and update to latest GH actions
Browse files Browse the repository at this point in the history
Signed-off-by: deadprogram <[email protected]>
  • Loading branch information
deadprogram committed Feb 20, 2024
1 parent cbb1ea7 commit 93bfd89
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,23 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install dependencies
run: sudo apt-get install libgl1-mesa-dev xorg-dev

- name: Checkout code
uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v4
uses: actions/setup-go@v5
with:
go-version: '1.22'

- name: Build
run: go build -v ./...
- name: Install GL
run: go get -u github.com/go-gl/gl/v3.2-core/gl
env:
CGO_ENABLED: 1

- name: Test
run: go test -v ./...
env:
CGO_ENABLED: 1

0 comments on commit 93bfd89

Please sign in to comment.