Skip to content

v2: Next major version #1547

v2: Next major version

v2: Next major version #1547

name: continuous-integration
on:
push:
pull_request:
jobs:
test:
strategy:
fail-fast: false
matrix:
go-version: [stable, oldstable]
platform: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.platform }}
env:
GO111MODULE: on
steps:
-
name: Checkout code
uses: actions/checkout@v3
-
name: Install Go
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go-version }}
-
name: Clean module files
run: |
go mod tidy
-
name: Test code
run: |
go test ./pkg/...
-
name: Vet code
run: |
go vet ./pkg/...