mirror of
https://github.com/pomerium/pomerium.git
synced 2025-06-08 13:52:53 +02:00
ci: convert to FOSSA scan (#2371)
This commit is contained in:
parent
1123de07a6
commit
ba6e4b129a
3 changed files with 26 additions and 14 deletions
19
.fossa.yml
Executable file
19
.fossa.yml
Executable file
|
@ -0,0 +1,19 @@
|
||||||
|
# Generated by FOSSA CLI (https://github.com/fossas/fossa-cli)
|
||||||
|
# Visit https://fossa.com to learn more
|
||||||
|
|
||||||
|
version: 2
|
||||||
|
cli:
|
||||||
|
server: https://app.fossa.com
|
||||||
|
fetcher: custom
|
||||||
|
project: git@github.com:pomerium/pomerium.git
|
||||||
|
analyze:
|
||||||
|
modules:
|
||||||
|
- name: github.com/pomerium/pomerium/cmd/pomerium
|
||||||
|
type: go
|
||||||
|
target: github.com/pomerium/pomerium/cmd/pomerium
|
||||||
|
path: cmd/pomerium
|
||||||
|
|
||||||
|
- name: github.com/pomerium/pomerium/cmd/pomerium-cli
|
||||||
|
type: go
|
||||||
|
target: github.com/pomerium/pomerium/cmd/pomerium-cli
|
||||||
|
path: cmd/pomerium-cli
|
14
.github/workflows/test.yaml
vendored
14
.github/workflows/test.yaml
vendored
|
@ -217,16 +217,16 @@ jobs:
|
||||||
|
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: install lichen
|
|
||||||
run: $(cd /tmp; go get github.com/uw-labs/lichen)
|
|
||||||
|
|
||||||
- name: retrieve binary
|
- name: retrieve binary
|
||||||
uses: actions/download-artifact@v2
|
uses: actions/download-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: pomerium ${{ github.run_id }} ${{ matrix.platform }}
|
name: pomerium ${{ github.run_id }} ${{ matrix.platform }}
|
||||||
path: bin/
|
path: bin/
|
||||||
|
|
||||||
- name: golang license check
|
- name: download envoy
|
||||||
run: |
|
run: make get-envoy
|
||||||
chmod 755 bin/pomerium bin/pomerium-cli
|
|
||||||
lichen --config lichen.yaml bin/pomerium*
|
- name: FOSSA Scan
|
||||||
|
uses: fossa-contrib/fossa-action@v1
|
||||||
|
with:
|
||||||
|
fossa-api-key: 18f4ef488f514d06874b75f5809cea93
|
||||||
|
|
|
@ -1,7 +0,0 @@
|
||||||
override:
|
|
||||||
- path: "gopkg.in/alecthomas/kingpin.v2"
|
|
||||||
licenses: ["MIT"]
|
|
||||||
- path: "github.com/alecthomas/units"
|
|
||||||
licenses: ["MIT"]
|
|
||||||
- path: "gopkg.in/cookieo9/resources-go.v2"
|
|
||||||
licenses: ["MIT"]
|
|
Loading…
Add table
Add a link
Reference in a new issue