Skip to content

Commit

Permalink
Bump actions/checkout to v4 in CI (#670)
Browse files Browse the repository at this point in the history
* Bump actions/checkout to v4 in CI

* Keep old actions/checkout versions in containerized jobs
  • Loading branch information
clyring authored and Bodigrim committed Oct 9, 2024
1 parent 49222ed commit f0edbfe
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- os: macOS-latest
ghc: 'latest'
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Install libncurses5 and libtinfo
if: runner.os == 'Linux' && (matrix.ghc == '8.0' || matrix.ghc == '8.2')
run: |
Expand Down Expand Up @@ -69,7 +69,7 @@ jobs:
matrix:
ghc: ['9.2', '9.4', '9.6']
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: haskell/actions/setup@v2
id: setup-haskell-cabal
with:
Expand Down Expand Up @@ -130,7 +130,7 @@ jobs:
matrix:
arch: ['s390x', 'ppc64le']
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: uraimo/run-on-arch-action@v2.5.0
timeout-minutes: 60
with:
Expand All @@ -150,7 +150,7 @@ jobs:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: haskell/actions/setup@v2
id: setup-haskell-cabal
with:
Expand All @@ -171,7 +171,7 @@ jobs:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: haskell/actions/setup@v2
id: setup-haskell-cabal
with:
Expand All @@ -198,7 +198,7 @@ jobs:
run: |
yum install -y gcc gmp gmp-devel make ncurses ncurses-compat-libs xz perl
curl --proto '=https' --tlsv1.2 -sSf https://get-ghcup.haskell.org | BOOTSTRAP_HASKELL_NONINTERACTIVE=1 BOOTSTRAP_HASKELL_GHC_VERSION=9.2.8 sh
- uses: actions/checkout@v3
- uses: actions/checkout@v3 #This version must stay old enough to remain compatible with the container image
- name: test
run: |
source ~/.ghcup/env
Expand All @@ -216,7 +216,7 @@ jobs:
apt-get update -y
apt-get install -y autoconf build-essential zlib1g-dev libgmp-dev curl libncurses5 libtinfo5 libncurses5-dev libtinfo-dev
curl --proto '=https' --tlsv1.2 -sSf https://get-ghcup.haskell.org | BOOTSTRAP_HASKELL_NONINTERACTIVE=1 BOOTSTRAP_HASKELL_INSTALL_NO_STACK=1 sh
- uses: actions/checkout@v1
- uses: actions/checkout@v1 #This version must stay old enough to remain compatible with the container image
- name: Test
run: |
source ~/.ghcup/env
Expand All @@ -240,7 +240,7 @@ jobs:
args: "find . -mindepth 1 -maxdepth 1 -exec rm -rf -- {} +"

- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4

- if: matrix.arch == 'arm32v7'
uses: docker://hasufell/arm32v7-ubuntu-haskell:focal
Expand Down

0 comments on commit f0edbfe

Please sign in to comment.