Skip to content

Commit

Permalink
fix(ci): Fix a handful of GH actions errors
Browse files Browse the repository at this point in the history
 * devx: command not found
 * jq: error (at <stdin>:0): Cannot index array with string "style"
  • Loading branch information
sgillespie authored and angerman committed May 7, 2024
1 parent ec3ba3d commit 1b5e8b0
Showing 1 changed file with 16 additions and 18 deletions.
34 changes: 16 additions & 18 deletions .github/workflows/haskell.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,26 +41,12 @@ jobs:
a+${{ github.event_name }}
b+${{ github.workflow_ref }}
c+${{ github.job }}
d+${{ matrix.ghc }}
e+${{ matrix.cabal }}
f+${{ matrix.os }}
g+${{ (startsWith(github.ref, 'refs/heads/gh-readonly-queue/') && github.run_id) || github.event.pull_request.number || github.ref }}
d+${{ matrix.compiler-nix-name }}
e+${{ matrix.platform }}
f+${{ (startsWith(github.ref, 'refs/heads/gh-readonly-queue/') && github.run_id) || github.event.pull_request.number || github.ref }}
cancel-in-progress: true

steps:
- name: Concurrency group
run: >
echo
a+${{ github.event_name }}
b+${{ github.workflow_ref }}
c+${{ github.job }}
d+${{ matrix.ghc }}
e+${{ matrix.cabal }}
f+${{ matrix.os }}
g+${{ (startsWith(github.ref, 'refs/heads/gh-readonly-queue/') && github.run_id) || github.event.pull_request.number || github.ref }}
- uses: actions/checkout@v4

- name: Install GHC and Cabal
uses: input-output-hk/actions/devx@latest
with:
Expand All @@ -70,7 +56,19 @@ jobs:
# for now we'll set minimal to false, as minimal-iog images don't exist.
minimal: false
iog: true


- name: Concurrency group
run: >
echo
a+${{ github.event_name }}
b+${{ github.workflow_ref }}
c+${{ github.job }}
d+${{ matrix.compiler-nix-name }}
e+${{ matrix.platform }}
f+${{ (startsWith(github.ref, 'refs/heads/gh-readonly-queue/') && github.run_id) || github.event.pull_request.number || github.ref }}
- uses: actions/checkout@v4

- name: Cabal update
run: cabal update

Expand Down

0 comments on commit 1b5e8b0

Please sign in to comment.