mirror of https://github.com/fluxcd/flux2.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
752 B
YAML
28 lines
752 B
YAML
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: '5ee8bf422db1471e0bcf2bcb289185de'
|
|
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
|