Skip to content

chore: auto-update of pre-commit hooks #398

chore: auto-update of pre-commit hooks

chore: auto-update of pre-commit hooks #398

Workflow file for this run

---
name: Build
on:
push:
branches: [main, release-*]
pull_request:
jobs:
build:
name: Build and test on go ${{ matrix.go_version }} and ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
go_version: [1.18, 1.19]
os: [ubuntu-latest, macOS-latest, windows-latest]
steps:
- name: Check out code
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab
with:
fetch-depth: 0
- name: Set up Go ${{ matrix.go_version }}
uses: actions/setup-go@4d34df0c2316fe8122ab82dc22947d607c0c91f9
with:
go-version: ${{ matrix.go_version }}
cache: true
- name: Get dependencies
run: go mod download
- name: Build
run: make build
- name: Test
run: make test