Skip to content

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

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

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

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@v5
with:
go-version: ${{ matrix.go-version }}
- name: Checkout
uses: actions/checkout@v4
- 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 ./...