forked from kubeedge/ianvs
-
Notifications
You must be signed in to change notification settings - Fork 0
30 lines (29 loc) · 880 Bytes
/
fossa.yaml
File metadata and controls
30 lines (29 loc) · 880 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
name: FOSSA
on:
push:
branches: [ main ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ main ]
schedule:
- cron: '31 15 * * 2'
jobs:
build:
runs-on: ubuntu-22.04
strategy:
matrix:
python-version: [ "3.7", "3.8", "3.9" ]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: run FOSSA analysis
env:
# FOSSA Push-Only API Token
FOSSA_API_KEY: '0b0868c9567ab9de697318e515248cad'
run: |
sudo curl -H 'Cache-Control: no-cache' https://raw.githubusercontent.com/fossas/fossa-cli/master/install-latest.sh | sudo bash
cd '${{github.workspace}}'
sudo -E fossa analyze