We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b5b2d79 commit af985aeCopy full SHA for af985ae
.github/workflows/fossa.yml
@@ -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: '304657e2357ba57b416b94e6b119131b'
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