2022-04-18 17:28:56 +00:00
|
|
|
name: Dependency License Checks
|
|
|
|
|
|
|
|
on:
|
|
|
|
pull_request:
|
|
|
|
paths:
|
|
|
|
- "go.mod"
|
|
|
|
workflow_dispatch: {}
|
|
|
|
|
2024-01-18 20:03:07 +00:00
|
|
|
permissions:
|
|
|
|
contents: read
|
|
|
|
|
2022-04-18 17:28:56 +00:00
|
|
|
jobs:
|
2022-12-16 20:53:04 +00:00
|
|
|
fossa-scan:
|
2022-10-06 17:14:13 +00:00
|
|
|
runs-on: ubuntu-latest
|
2022-04-18 17:28:56 +00:00
|
|
|
steps:
|
2022-12-16 20:53:04 +00:00
|
|
|
- name: "Checkout Code"
|
2024-10-29 08:45:25 +00:00
|
|
|
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
2022-04-18 17:28:56 +00:00
|
|
|
|
2022-12-16 20:53:04 +00:00
|
|
|
- name: "Run FOSSA Scan"
|
2024-08-13 09:00:31 +00:00
|
|
|
uses: fossas/fossa-action@09bcf127dc0ccb4b5a023f6f906728878e8610ba # main
|
2022-04-18 17:28:56 +00:00
|
|
|
with:
|
2022-12-16 20:53:04 +00:00
|
|
|
api-key: ${{secrets.FOSSA_API_KEY}}
|
2022-04-18 17:28:56 +00:00
|
|
|
|
2022-12-16 20:53:04 +00:00
|
|
|
- name: "Run FOSSA Test"
|
2024-08-13 09:00:31 +00:00
|
|
|
uses: fossas/fossa-action@09bcf127dc0ccb4b5a023f6f906728878e8610ba # main
|
2022-04-18 17:28:56 +00:00
|
|
|
with:
|
2022-12-16 20:53:04 +00:00
|
|
|
api-key: ${{secrets.FOSSA_API_KEY}}
|
|
|
|
run-tests: true
|