Skip to content

gh-action

gh-action #1

Workflow file for this run

name: Go Tests
on:
pull_request:
branches: [ main ]
push:
branches: [ main ]
jobs:
test:
name: Run Go Tests
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.24'
- name: Get dependencies
run: go mod download
- name: Run tests
run: go test -v ./...
- name: Run tests with race detection
run: go test -race -v ./...