Skip to content

Merge pull request #63 from lithammer/dependabot/go_modules/golang.or… #104

Merge pull request #63 from lithammer/dependabot/go_modules/golang.or…

Merge pull request #63 from lithammer/dependabot/go_modules/golang.or… #104

Workflow file for this run

name: Go
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
test:
strategy:
matrix:
platform: [ubuntu-latest, macos-latest, windows-latest]
go-version: ["1.19", "1.20"]
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: Download Go dependencies
run: go mod download
env:
GOPROXY: "https://proxy.golang.org"
- name: Build
run: go build -v ./...
- name: Test
run: go test -v ./...