certificates/.github/workflows/test.yml
2021-02-18 13:25:27 -08:00

34 lines
868 B
YAML

name: Lint, Test, Build
on:
push:
tags-ignore:
- 'v*'
branches:
- "**"
pull_request:
jobs:
lintTestBuild:
name: Lint, Test, Build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Go
uses: actions/setup-go@v2
with:
go-version: '^1.15.6'
- name: Install Deps
id: install-deps
run: sudo apt-get -y install libpcsclite-dev
- name: Lint, Test, Build
id: lintTestBuild
run: V=1 make -j1 bootstrap travis
- name: Codecov
uses: codecov/codecov-action@v1.2.1
with:
token: ${{ secrets.CODECOV_TOKEN }} # not required for public repos
file: ./coverage.out # optional
name: codecov-umbrella # optional
fail_ci_if_error: true # optional (default = false)