Skip to content
This repository has been archived by the owner on May 22, 2024. It is now read-only.

Commit

Permalink
chore: update github actions workflow files for fossa scans to use in…
Browse files Browse the repository at this point in the history
…stall users home directory (#621)
  • Loading branch information
dustincrogers committed Aug 23, 2021
1 parent 0862f9a commit fcc82b7
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/fossa.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ name: Dependency License Scanning
on:
push:
branches:
- main
- fossa
- master
- chore/fossa-workflow

defaults:
run:
Expand All @@ -16,10 +16,14 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Fossa init
- name: Download fossa cli
run: |-
curl -H 'Cache-Control: no-cache' https://raw.githubusercontent.com/fossas/fossa-cli/master/install.sh | bash
fossa init
mkdir -p $HOME/.local/bin
curl https://raw.githubusercontent.com/fossas/fossa-cli/master/install.sh | bash -s -- -b $HOME/.local/bin
echo "$HOME/.local/bin" >> $GITHUB_PATH
- name: Fossa init
run: fossa init
- name: Set env
run: echo "line_number=$(grep -n "project" .fossa.yml | cut -f1 -d:)" >> $GITHUB_ENV
- name: Configuration
Expand Down

1 comment on commit fcc82b7

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⏱ Benchmark results

largeDepsEsbuild: 14.2s

largeDepsZisi: 1m 14.8s

Please sign in to comment.