Skip to content

Merge pull request #435 from gotestyourself/dnephin/update-ci #203

Merge pull request #435 from gotestyourself/dnephin/update-ci

Merge pull request #435 from gotestyourself/dnephin/update-ci #203

Workflow file for this run

name: ci
on:
pull_request:
push:
jobs:
Build:
strategy:
fail-fast: false
matrix:
go-version: [stable, oldstable]
platform: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ${{ matrix.platform }}
steps:
- name: Setup git
# required to run tests on windows
run: |
git config --global core.autocrlf false
git config --global core.symlinks true
- name: Fetch Repository
uses: actions/checkout@v4
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
- run: go build .
- run: ./gotestsum -f testname -- ./... -race -count=1