Merge pull request #448 from aldiesel/main #226
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |