Skip to content

Merge pull request #48 from SiaFoundation/surpass #194

Merge pull request #48 from SiaFoundation/surpass

Merge pull request #48 from SiaFoundation/surpass #194

Workflow file for this run

name: Test
on:
pull_request:
branches: [ master ]
push:
branches: [ master ]
jobs:
test:
strategy:
matrix:
os: [ ubuntu-latest, macos-latest, windows-latest ]
go-version: [ '1.21', '1.22' ]
runs-on: ${{ matrix.os }}
timeout-minutes: 10
steps:
- name: Configure git # required for golangci-lint on Windows
shell: bash
run: git config --global core.autocrlf false
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go-version }}
- name: Lint
uses: golangci/golangci-lint-action@v3
with:
skip-cache: true
- name: test
uses: n8maninger/action-golang-test@v1
with:
args: "-race"
skip-go-install: true
show-package-output: true