Skip to content

Go Tests

Go Tests #10

Workflow file for this run

name: Go Tests
on:
push:
branches: [main]
pull_request:
branches: [main]
env:
GO_VERSION: "1.25.1"
# In the same branch only 1 workflow per time can run. In case we're not in the
# main branch we cancel previous running workflow
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
jobs:
go-test-orchestrator:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: ${{ env.GO_VERSION }}
- name: Run tests
run: go test -v --race ./...