You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
435 B
20 lines
435 B
name: Tests |
|
|
|
on: [push, pull_request] |
|
jobs: |
|
test: |
|
strategy: |
|
matrix: |
|
go-version: [1.15.x, 1.16.x] |
|
os: [ubuntu-latest, macos-latest, windows-latest, freebsd-latest, openbsd-latest] |
|
runs-on: ${{ matrix.os }} |
|
steps: |
|
- uses: actions/checkout@v2 |
|
|
|
- name: Install go |
|
uses: actions/setup-go@v2 |
|
with: |
|
go-version: "^1" |
|
|
|
- name: Run tests |
|
run: go test ./...
|
|
|