Skip to content

minor code cleanup

minor code cleanup #12

Workflow file for this run

name: CI
on:
pull_request:
branches:
- main
push:
branches:
- main
permissions: {}
jobs:
test:
name: Test
runs-on: ${{ matrix.os }}
permissions:
contents: read
strategy:
matrix:
os:
- ubuntu-latest
- macos-latest
- windows-latest
steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
persist-credentials: false
- uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
with:
go-version: '1.24'
check-latest: 'true'
cache: 'true'
- name: Install dependencies (Linux)
if: ${{ matrix.os == 'ubuntu-latest' }}
run: sudo apt-get update && sudo apt-get install -y gcc libgl1-mesa-dev xorg-dev
- name: Build
run: make build
- name: Test
run: make test