Skip to content

Merge pull request #13 from sigmavirus24/dependabot/github_actions/ac… #88

Merge pull request #13 from sigmavirus24/dependabot/github_actions/ac…

Merge pull request #13 from sigmavirus24/dependabot/github_actions/ac… #88

Workflow file for this run

name: Build
on: [push, pull_request]
jobs:
build:
strategy:
matrix:
go-version: [ 1.18.x, 1.19.x, 1.20.x ]
os: [ ubuntu-latest, macos-latest, windows-latest ]
runs-on: ${{ matrix.os }}
steps:
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@v4
- name: Restore cache
uses: actions/cache@v2
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Build
run: go build cmd/testutil/main.go