We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 79d043c + 40ddf3c commit 0d50de8Copy full SHA for 0d50de8
.github/workflows/fossa.yaml
@@ -0,0 +1,27 @@
1
+name: FOSSA
2
+on:
3
+ push:
4
+ branches: [master]
5
+ pull_request:
6
7
+
8
+jobs:
9
+ build:
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - uses: actions/checkout@v2
13
+ - uses: actions/setup-go@v2
14
+ with:
15
+ go-version: "^1.14.x"
16
+ - run: go version
17
+ # Runs a set of commands to initialize and analyze with FOSSA
18
+ - name: run FOSSA analysis
19
+ env:
20
+ # FOSSA Push-Only API Token
21
+ FOSSA_API_KEY: '5ee8bf422db1471e0bcf2bcb289185de'
22
+ run: |
23
+ export GOPATH=$HOME/go
24
+ export PATH=$PATH:$(go env GOPATH)/bin
25
+ curl -H 'Cache-Control: no-cache' https://raw.githubusercontent.com/fossas/fossa-cli/master/install.sh | bash
26
+ fossa init
27
+ fossa analyze
0 commit comments