Skip to content

introduce install-go-path flag #354

introduce install-go-path flag

introduce install-go-path flag #354

Workflow file for this run

name: 🔨 Build Test
on:
pull_request:
paths:
- '**.go'
- '**.mod'
workflow_dispatch:
jobs:
build:
name: Test Builds
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
steps:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.21.x
- name: Check out code
uses: actions/checkout@v3
- name: Build
run: go build .
working-directory: cmd/pdtm/
- name: Test
run: go test ./...
working-directory: .
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
- name: Race Condition Tests
run: go run -race .
working-directory: cmd/pdtm/
- name: Test Example Code
run: go run .
working-directory: examples/