Skip to content

Update GitHub workflow #114

Update GitHub workflow

Update GitHub workflow #114

Workflow file for this run

name: Go
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Get dependencies
run: |
sudo apt-get update && sudo apt-get install gcc libgl1-mesa-dev xorg-dev
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: "1.24"
- name: Lint
uses: golangci/golangci-lint-action@v3
with:
version: v2.1
args: --timeout=5m
- name: Build
run: go build -v ./...