File tree 1 file changed +9
-3
lines changed
1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change 4
4
push :
5
5
branches :
6
6
- main
7
+ - chore/fossa-workflow # convenience branch for future fossa tweaks
7
8
8
9
defaults :
9
10
run :
@@ -15,10 +16,15 @@ jobs:
15
16
steps :
16
17
- name : Checkout
17
18
uses : actions/checkout@v2
18
- - name : Fossa init
19
+ - name : Download fossa cli
19
20
run : |-
20
- curl -H 'Cache-Control: no-cache' https://raw.githubusercontent.com/fossas/fossa-cli/master/install.sh | bash
21
- fossa init
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
22
28
- name : Set env
23
29
run : echo "line_number=$(grep -n "project" .fossa.yml | cut -f1 -d:)" >> $GITHUB_ENV
24
30
- name : Configuration
You can’t perform that action at this time.
0 commit comments