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:
|
|
|
|
GITLEAKS_LICENSE_KEY:
|
|
|
|
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:
|
2022-09-26 22:48:21 +00:00
|
|
|
os-dependencies: "libpcsclite-dev"
|
2022-09-24 06:18:45 +00:00
|
|
|
run-gitleaks: true
|
|
|
|
run-codeql: true
|
|
|
|
secrets:
|
|
|
|
GITLEAKS_LICENSE_KEY: ${{ secrets.GITLEAKS_LICENSE_KEY }}
|