Skip to content

Commit

Permalink
try changing order of actions
Browse files Browse the repository at this point in the history
  • Loading branch information
jssblck committed Nov 26, 2024
1 parent 80be860 commit dbffdf5
Showing 1 changed file with 9 additions and 12 deletions.
21 changes: 9 additions & 12 deletions .github/workflows/dependency-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,6 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Log debug information
run: |
ghc --version || echo "no ghc"
cabal --version || echo "no cabal"
ghcup --version || echo "no ghcup"
- name: Update cabal cache
run: cabal update

- name: Install latest release from github
run: ./install-latest.sh -d

- name: Install and set GHC and Cabal versions
# The first line works around a ghcup issue:
# https://github.com/actions/runner-images/issues/7061#issuecomment-1422639889
Expand All @@ -34,6 +22,15 @@ jobs:
ghcup set cabal 3.6.2.0
cabal update
- name: Log debug information
run: |
ghc --version || echo "no ghc"
cabal --version || echo "no cabal"
ghcup --version || echo "no ghcup"
- name: Install latest release from github
run: ./install-latest.sh -d

- name: Run dependency scan
run: fossa analyze --only-target cabal --only-target cargo

Expand Down

0 comments on commit dbffdf5

Please sign in to comment.