This repository has been archived by the owner on Jan 16, 2024. It is now read-only.
Update poly.go #24
Workflow file for this run
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: Tests | |
on: [ push, pull_request ] | |
jobs: | |
tests: | |
name: ${{matrix.go-version}} ${{matrix.os}} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
go-version: [ 1.16 ] | |
os: [ macos-latest, windows-latest, ubuntu-latest ] | |
steps: | |
- name: Set up Go | |
uses: actions/setup-go@v1 | |
with: | |
go-version: ${{matrix.go-version}} | |
- name: Print go version | |
run: go version | |
- name: Check out module | |
uses: actions/checkout@v1 | |
with: | |
fetch-depth: 1 | |
- name: Download modules | |
run: go mod tidy -v | |
- name: Run tests | |
run: go test -race ./... |