Skip to content

Merge pull request #74 from DylanDevelops/ravel/resume-command-contex… #113

Merge pull request #74 from DylanDevelops/ravel/resume-command-contex…

Merge pull request #74 from DylanDevelops/ravel/resume-command-contex… #113

Workflow file for this run

name: Test
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
permissions:
contents: read
jobs:
test:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.25'
- name: Build
run: go build -v ./...
- name: Run unit tests
run: go test -v ./...
- name: Run tests with race detection
run: go test -race -v ./...
- name: Test basic commands
run: |
go build -o tmpo${{ matrix.os == 'windows-latest' && '.exe' || '' }} .
./tmpo${{ matrix.os == 'windows-latest' && '.exe' || '' }} --version
./tmpo${{ matrix.os == 'windows-latest' && '.exe' || '' }} --help