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.
26 lines
687 B
YAML
26 lines
687 B
YAML
name: FOSSA
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
pull_request:
|
|
branches: [main]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: actions/setup-go@v2
|
|
with:
|
|
go-version: "^1.14.x"
|
|
- name: Add GOPATH to GITHUB_ENV
|
|
run: echo "GOPATH=$(go env GOPATH)" >>"$GITHUB_ENV"
|
|
- name: Add GOPATH to GITHUB_PATH
|
|
run: echo "$GOPATH/bin" >>"$GITHUB_PATH"
|
|
- name: Run FOSSA scan and upload build data
|
|
uses: fossa-contrib/fossa-action@v1
|
|
with:
|
|
# FOSSA Push-Only API Token
|
|
fossa-api-key: 5ee8bf422db1471e0bcf2bcb289185de
|
|
github-token: ${{ github.token }}
|