Skip to content

Merge pull request #23 from lithammer/dependabot/github_actions/golan… #39

Merge pull request #23 from lithammer/dependabot/github_actions/golan…

Merge pull request #23 from lithammer/dependabot/github_actions/golan… #39

Workflow file for this run

name: Go
on:
pull_request:
push:
branches:
- master
jobs:
test:
strategy:
matrix:
platform: [ubuntu-latest, macos-latest, windows-latest]
go-version: ['1.17', '1.18']
runs-on: ${{ matrix.platform }}
steps:
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go-version }}
- name: Checkout
uses: actions/checkout@v3
- name: Lint
uses: golangci/[email protected]
with:
version: v1.46
- name: Build
run: go build -v ./...
- name: Test
run: go test -v ./...