2022-09-21 05:16:46 +00:00
|
|
|
name: CI
|
2021-02-18 20:38:32 +00:00
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
tags-ignore:
|
|
|
|
- 'v*'
|
|
|
|
branches:
|
2022-09-24 06:18:45 +00:00
|
|
|
- "master"
|
2021-02-18 20:38:32 +00:00
|
|
|
pull_request:
|
2022-09-24 06:18:45 +00:00
|
|
|
workflow_call:
|
|
|
|
secrets:
|
2022-10-03 18:55:53 +00:00
|
|
|
CODECOV_TOKEN:
|
2022-09-24 06:18:45 +00:00
|
|
|
required: true
|
2021-02-18 20:38:32 +00:00
|
|
|
|
2022-09-21 19:26:45 +00:00
|
|
|
concurrency:
|
|
|
|
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
|
|
|
cancel-in-progress: true
|
|
|
|
|
2021-02-18 20:38:32 +00:00
|
|
|
jobs:
|
2022-09-21 05:16:46 +00:00
|
|
|
ci:
|
|
|
|
uses: smallstep/workflows/.github/workflows/goCI.yml@main
|
2022-09-22 22:30:27 +00:00
|
|
|
with:
|
2023-06-13 18:13:42 +00:00
|
|
|
only-latest-golang: false
|
|
|
|
os-dependencies: 'libpcsclite-dev'
|
2022-09-24 06:18:45 +00:00
|
|
|
run-codeql: true
|
2023-06-13 18:13:42 +00:00
|
|
|
test-command: 'V=1 make test'
|
2022-10-03 18:55:53 +00:00
|
|
|
secrets: inherit
|