Skip to content

build(deps): bump the github-actions group across 1 directory with 5 updates #388

build(deps): bump the github-actions group across 1 directory with 5 updates

build(deps): bump the github-actions group across 1 directory with 5 updates #388

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]
steps:
- name: Check out code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v2.3.4
with:
fetch-depth: 0
- name: Set up Go ${{ matrix.go_version }}
uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v2.1.4
with:
go-version: ${{ matrix.go_version }}
cache: true
id: go
- name: Get dependencies
run: go mod download
- name: Build
run: make build
- name: Test
run: make test-report
- name: Send coverage
uses: codecov/codecov-action@0da7aa657d958d32c117fc47e1f977e7524753c7 # v2.1.0
with:
file: ./reports/coverage.out
flags: unittests,${{ matrix.os }}