Skip to content

Merge pull request #12 from domsolutions/dependabot/go_modules/github… #85

Merge pull request #12 from domsolutions/dependabot/go_modules/github…

Merge pull request #12 from domsolutions/dependabot/go_modules/github… #85

Workflow file for this run

# This workflow will build a golang project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go
name: Go
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-latest, ubuntu-latest]
fail-fast: true
max-parallel: 1
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: '1.20'
- name: Build
run: go build -v ./...
- name: Go vet
run: go vet ./...
- name: Test
run: go test -p 1 -v ./...