build(deps): bump the github-actions group with 2 updates #445
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
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 |