Skip to content

Commit

Permalink
Enable FOSSA scanning for the repo (#2347)
Browse files Browse the repository at this point in the history
* FOSSA scanning enabled for the repo

Signed-off-by: Ihor Dvoretskyi <[email protected]>

* Comments addressed

Signed-off-by: Ihor Dvoretskyi <[email protected]>

* FOSSA config updated

Signed-off-by: Ihor Dvoretskyi <[email protected]>

Co-authored-by: Yuri Shkuro <[email protected]>
  • Loading branch information
idvoretskyi and yurishkuro authored Aug 29, 2020
1 parent b5b2d79 commit af985ae
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/fossa.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: FOSSA
on:
push:
branches: [master]
pull_request:
branches: [master]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: "^1.14.x"
- run: go version
# Runs a set of commands to initialize and analyze with FOSSA
- name: run FOSSA analysis
env:
# FOSSA Push-Only API Token
FOSSA_API_KEY: '304657e2357ba57b416b94e6b119131b'
run: |
export GOPATH=$HOME/go
export PATH=$PATH:$(go env GOPATH)/bin
curl -H 'Cache-Control: no-cache' https://raw.githubusercontent.com/fossas/fossa-cli/master/install.sh | bash
fossa init
fossa analyze

0 comments on commit af985ae

Please sign in to comment.