Enchantrix/.github/workflows/go.yml
google-labs-jules[bot] f59b6563ee feat: Update Go version and workflow
This commit updates the Go version to 1.25 in the `go.mod` and `go.work` files. It also updates the GitHub Actions workflow to use the `go.work` file to determine the Go version and adds a step to set up `task`.
2025-10-30 17:47:40 +00:00

27 lines
424 B
YAML

name: Go
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version-file: 'go.work'
- name: Setup Task
uses: arduino/setup-task@v1
- name: Build
run: go build -v ./...
- name: Test
run: go test -v ./...