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-15 07:37:11 +00:00
|
|
|
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
|
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
|