File tree Expand file tree Collapse file tree 1 file changed +5
-26
lines changed Expand file tree Collapse file tree 1 file changed +5
-26
lines changed Original file line number Diff line number Diff line change 66 - main
77 - chore/fossa-workflow # convenience branch for future fossa tweaks
88
9- defaults :
10- run :
11- shell : bash
12-
139jobs :
14- fossa :
10+ fossa-scan :
1511 runs-on : ubuntu-latest
1612 steps :
17- - name : Checkout
18- uses : actions/checkout@v2
19- - name : Download fossa cli
20- run : |-
21- curl -L https://github.com/fossas/fossa-cli/releases/download/v1.1.2/fossa-cli_1.1.2_linux_amd64.tar.gz > fossa-cli.tar.gz
22- tar -xvzf fossa-cli.tar.gz
23- mkdir -p $HOME/.local/bin
24- echo "$HOME/.local/bin" >> $GITHUB_PATH
25- mv fossa $HOME/.local/bin/fossa
26- - name : Fossa init
27- run : fossa init
28- - name : Set env
29- run : echo "line_number=$(grep -n "project" .fossa.yml | cut -f1 -d:)" >> $GITHUB_ENV
30- - name : Configuration
31- run : |-
32- sed -i "${line_number}s|.*| project: git@github.com:${GITHUB_REPOSITORY}.git|" .fossa.yml
33- cat .fossa.yml
34- - name : Upload dependencies
35- run : fossa analyze --debug
36- env :
37- FOSSA_API_KEY : ${{ secrets.FOSSA_API_KEY }}
13+ - uses : actions/checkout@v3
14+ - uses : fossas/fossa-action@main # Use a specific version if locking is preferred
15+ with :
16+ api-key : ${{secrets.FOSSA_API_KEY}}
You can’t perform that action at this time.
0 commit comments