Skip to content

Commit

Permalink
Migrate to haskell-actions/setup
Browse files Browse the repository at this point in the history
Backport of b639528 from #9463
  • Loading branch information
andreabedini committed Nov 23, 2023
1 parent 6f2b3b3 commit 9911bf2
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
steps:
- uses: actions/checkout@v2

- uses: haskell/actions/setup@v1
- uses: haskell-actions/setup@v2
id: setup-haskell
with:
ghc-version: 9.2.1
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
name: test ghc-8.6.5
runs-on: windows-latest
steps:
- uses: actions/setup[email protected]
- uses: haskell-actions/setup@v2
with:
ghc-version: '8.6.5'
cabal-version: '3.4.0.0'
Expand Down Expand Up @@ -74,7 +74,7 @@ jobs:
name: test ghc-8.6.5 dogfood
runs-on: windows-latest
steps:
- uses: actions/setup[email protected]
- uses: haskell-actions/setup@v2
with:
ghc-version: '8.6.5'
cabal-version: '3.4.0.0'
Expand Down Expand Up @@ -117,7 +117,7 @@ jobs:
name: test ghc-8.10.4
runs-on: windows-latest
steps:
- uses: actions/setup[email protected]
- uses: haskell-actions/setup@v2
with:
ghc-version: '8.10.4'
cabal-version: '3.4.0.0'
Expand Down Expand Up @@ -171,7 +171,7 @@ jobs:
name: test ghc-8.10.4 dogfood
runs-on: windows-latest
steps:
- uses: actions/setup[email protected]
- uses: haskell-actions/setup@v2
with:
ghc-version: '8.10.4'
cabal-version: '3.4.0.0'
Expand Down
4 changes: 2 additions & 2 deletions templates/ci-windows.template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
needs: test-windows-{{ mangleVersion needs }}
{% endfor %}
steps:
- uses: actions/setup[email protected]
- uses: haskell-actions/setup@v2
with:
ghc-version: '{{ job.chocoVersion }}'
cabal-version: '3.4.0.0'
Expand Down Expand Up @@ -84,7 +84,7 @@ jobs:
needs: test-windows-{{ mangleVersion needs }}
{% endfor %}
steps:
- uses: actions/setup[email protected]
- uses: haskell-actions/setup@v2
with:
ghc-version: '{{ job.chocoVersion }}'
cabal-version: '3.4.0.0'
Expand Down

0 comments on commit 9911bf2

Please sign in to comment.