forked from gnolang/gno
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: moul <[email protected]>
- Loading branch information
Showing
3 changed files
with
53 additions
and
5 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
version: 3 | ||
|
||
# https://github.com/fossas/fossa-cli/blob/master/docs/references/files/fossa-yml.md | ||
|
||
paths: | ||
exclude: | ||
- ./misc/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
name: Dependency License Scanning | ||
|
||
on: | ||
workflow_dispatch: | ||
schedule: | ||
- cron: '0 0 * * 6' # At 00:00 on saturdays | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
fossa: | ||
name: Fossa | ||
runs-on: ubuntu-latest | ||
if: github.repository == 'gnolang/gno' | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
# we don't know what commit the last tag was it's safer to get entire repo so previousStableVersion resolves | ||
fetch-depth: 0 | ||
|
||
- name: Move .fossa.yml to root dir | ||
run: mv .github/.fossa.yml . | ||
|
||
- name: Cache Coursier cache | ||
uses: coursier/[email protected] | ||
|
||
- name: Set up JDK 17 | ||
uses: coursier/[email protected] | ||
with: | ||
jvm: temurin:1.17 | ||
|
||
- name: Set up fossa CLI | ||
run: curl -H 'Cache-Control: no-cache' https://raw.githubusercontent.com/fossas/fossa-cli/master/install-latest.sh | bash | ||
|
||
- name: FOSSA analyze | ||
run: fossa analyze | ||
env: | ||
FOSSA_API_KEY: "${{secrets.FOSSA_API_KEY}}" | ||
|
||
- name: FOSSA test | ||
run: fossa test | ||
env: | ||
FOSSA_API_KEY: "${{secrets.FOSSA_API_KEY}}" | ||
|