Skip to content
Snippets Groups Projects
Unverified Commit 3ef5350a authored by Mario Macias's avatar Mario Macias Committed by GitHub
Browse files

Create pull_request.yml

parent 4978ea5a
Branches
No related tags found
No related merge requests found
name: Pull request checks
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
test:
name: test
runs-on: ubuntu-latest
strategy:
matrix:
go: ['1.17']
steps:
- uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.17
- name: Install make
run: sudo apt -y install make
- name: Run verification and tests
run: make fmt lint test
- name: Report coverage
uses: codecov/codecov-action@v2.1.0
with:
files: ./cover.out
flags: unittests
fail_ci_if_error: true
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment