Skip to content

NETOBSERV-1499 Github config for CLI #5

NETOBSERV-1499 Github config for CLI

NETOBSERV-1499 Github config for CLI #5

Workflow file for this run

name: pull request checks
on:
pull_request:
branches: ['*']
jobs:
build-test:
name: Build, lint, test
runs-on: ubuntu-latest
strategy:
matrix:
go: ['1.21']
steps:
- name: install make
run: sudo apt-get install make
- name: set up go 1.x
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go }}
- name: checkout
uses: actions/checkout@v3
- name: run build
run: make build && git diff --exit-code
- name: run unit tests
run: make test
- name: Report coverage
uses: codecov/[email protected]
with:
files: ./cover.out
flags: unittests
fail_ci_if_error: false
args: --timeout 5m0s