Skip to content

docs

docs #24

Workflow file for this run

# This workflow will build a golang project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go
name: Go
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- name: Set up LibGL, Mesa & X11 libraries
if: startsWith(matrix.os,'ubuntu')
run: |
sudo apt-get --allow-releaseinfo-change update
sudo apt-get install -y libgtk-3-dev libasound2-dev libxxf86vm-dev
- name: Set up Go environment
uses: actions/setup-go@v6
with:
go-version: '1.24.x'
- name: Checkout out source code
uses: actions/checkout@v5
with:
fetch-depth: 0
submodules: 'recursive'
- name: Run Go test
run: go test -race -v ./...