tusd/.github/workflows/continuous-integration.yaml

30 lines
580 B
YAML

name: continuous-integration
on:
push:
pull_request:
jobs:
test:
strategy:
fail-fast: false
matrix:
go-version: [1.16.x, 1.17.x]
platform: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.platform }}
steps:
- name: Install Matrix Go
uses: actions/setup-go@v2.1.4
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@v2.3.5
- name: Test code
env:
GO111MODULE: on
run: |
go test ./pkg/...
go vet ./pkg/...