From 9911bf2f7966ab1289bbface981b9cd94d011579 Mon Sep 17 00:00:00 2001 From: Andrea Bedini Date: Thu, 23 Nov 2023 10:16:05 +0800 Subject: [PATCH] Migrate to haskell-actions/setup Backport of b639528de2648fa65e8587c09a686be0d5cc2608 from #9463 --- .github/workflows/linux.yml | 2 +- .github/workflows/windows.yml | 8 ++++---- templates/ci-windows.template.yml | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index e0eb6fa36f4..a01c0617a64 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -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 diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 2b6517535e5..c013c381a53 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -20,7 +20,7 @@ jobs: name: test ghc-8.6.5 runs-on: windows-latest steps: - - uses: actions/setup-haskell@v1.1.4 + - uses: haskell-actions/setup@v2 with: ghc-version: '8.6.5' cabal-version: '3.4.0.0' @@ -74,7 +74,7 @@ jobs: name: test ghc-8.6.5 dogfood runs-on: windows-latest steps: - - uses: actions/setup-haskell@v1.1.4 + - uses: haskell-actions/setup@v2 with: ghc-version: '8.6.5' cabal-version: '3.4.0.0' @@ -117,7 +117,7 @@ jobs: name: test ghc-8.10.4 runs-on: windows-latest steps: - - uses: actions/setup-haskell@v1.1.4 + - uses: haskell-actions/setup@v2 with: ghc-version: '8.10.4' cabal-version: '3.4.0.0' @@ -171,7 +171,7 @@ jobs: name: test ghc-8.10.4 dogfood runs-on: windows-latest steps: - - uses: actions/setup-haskell@v1.1.4 + - uses: haskell-actions/setup@v2 with: ghc-version: '8.10.4' cabal-version: '3.4.0.0' diff --git a/templates/ci-windows.template.yml b/templates/ci-windows.template.yml index 2156b101e37..aa29ca70741 100644 --- a/templates/ci-windows.template.yml +++ b/templates/ci-windows.template.yml @@ -27,7 +27,7 @@ jobs: needs: test-windows-{{ mangleVersion needs }} {% endfor %} steps: - - uses: actions/setup-haskell@v1.1.4 + - uses: haskell-actions/setup@v2 with: ghc-version: '{{ job.chocoVersion }}' cabal-version: '3.4.0.0' @@ -84,7 +84,7 @@ jobs: needs: test-windows-{{ mangleVersion needs }} {% endfor %} steps: - - uses: actions/setup-haskell@v1.1.4 + - uses: haskell-actions/setup@v2 with: ghc-version: '{{ job.chocoVersion }}' cabal-version: '3.4.0.0'