Skip to content

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

chore: auto-update of pre-commit hooks

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

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: [stable, oldstable]
os: [ubuntu-latest, macOS-latest, windows-latest]
steps:
- name: Check out code
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608
with:
fetch-depth: 0
- name: Set up Go ${{ matrix.go_version }}
uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe
with:
go-version: ${{ matrix.go_version }}
- name: Get dependencies
run: go mod download
- name: Build
run: make build
- name: Test
run: make test