Skip to content

[chore] : Bump the actions group with 2 updates #29

[chore] : Bump the actions group with 2 updates

[chore] : Bump the actions group with 2 updates #29

Workflow file for this run

name: Build and Test Workflow
on:
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
max-parallel: 30
matrix:
version:
- 'oldstable'
- 'stable'
steps:
- name: Checkout Code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
- name: Setup Go
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5
with:
go-version: ${{ matrix.version }}
- name: Test Go
run: go test -v -coverprofile=coverage.out ./...
- name: Build Go
run: go build ./...
- name: Upload coverage report
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
with:
path: coverage.out
name: coverage-report-${{matrix.version}}
- name: Display coverage report
run: go tool cover -func=coverage.out