Skip to content

Update go.yml

Update go.yml #6

Workflow file for this run

name: Go
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: windows-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.24.5' # Use the version you installed locally
- name: Tidy dependencies
run: go mod tidy
- name: Build
run: go build -v ./...
- name: Test
run: go test -v ./...