Skip to content

fix: allow G0 test execution in locked container #7

fix: allow G0 test execution in locked container

fix: allow G0 test execution in locked container #7

Workflow file for this run

name: Test
on:
push:
pull_request:
workflow_dispatch:
permissions:
contents: read
concurrency:
group: test-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
unit:
name: Unit tests and vet
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
cache: true
- name: Test
run: go test ./...
- name: Vet
run: go vet ./...
race-linux:
name: Race detector (Docker/Linux)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Test with race detector
shell: bash
run: bash ./scripts/test-race.sh
race-windows:
name: Race detector (Windows)
runs-on: windows-2025
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
cache: true
- name: Test Windows-specific code with race detector
shell: pwsh
run: .\scripts\test-race-native-windows.ps1