Skip to content

Commit

Permalink
Bump various CI actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Bodigrim committed Jul 4, 2023
1 parent fe52ebe commit 4567941
Show file tree
Hide file tree
Showing 9 changed files with 25 additions and 25 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/arm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,4 @@ jobs:
uses: docker://hasufell/arm64v8-ubuntu-haskell:focal
name: Run build (arm64v8 linux)
with:
args: sh -c "curl --proto '=https' --tlsv1.2 -sSf https://get-ghcup.haskell.org | BOOTSTRAP_HASKELL_NONINTERACTIVE=1 BOOTSTRAP_HASKELL_INSTALL_NO_STACK=1 BOOTSTRAP_HASKELL_GHC_VERSION=9.2.5 sh && cabal update && cabal test -w ~/.ghcup/bin/ghc"
args: sh -c "curl --proto '=https' --tlsv1.2 -sSf https://get-ghcup.haskell.org | BOOTSTRAP_HASKELL_NONINTERACTIVE=1 BOOTSTRAP_HASKELL_INSTALL_NO_STACK=1 sh && cabal update && cabal test -w ~/.ghcup/bin/ghc"
2 changes: 1 addition & 1 deletion .github/workflows/centos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
run: |
yum install -y gcc gmp gmp-devel make ncurses ncurses-compat-libs ncurses-devel xz perl libstdc++-static
curl --proto '=https' --tlsv1.2 -sSf https://get-ghcup.haskell.org | BOOTSTRAP_HASKELL_NONINTERACTIVE=1 sh
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Test
run: |
source ~/.ghcup/env
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/developer-flag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@ jobs:
ghc: ['latest']
fail-fast: false
steps:
- uses: actions/checkout@v2
- uses: haskell/actions/setup@v1
- uses: actions/checkout@v3
- uses: haskell/actions/setup@v2
id: setup-haskell-cabal
with:
ghc-version: ${{ matrix.ghc }}
- name: Update cabal package database
run: cabal update
- uses: actions/cache@v2
- uses: actions/cache@v3
name: Cache cabal stuff
with:
path: ${{ steps.setup-haskell-cabal.outputs.cabal-store }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/emulated.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ jobs:
matrix:
arch: ['s390x', 'ppc64le']
steps:
- uses: actions/checkout@v2
- uses: uraimo/run-on-arch-action@v2.1.1
- uses: actions/checkout@v3
- uses: uraimo/run-on-arch-action@v2.5.0
timeout-minutes: 60
with:
arch: ${{ matrix.arch }}
distro: ubuntu20.04
distro: ubuntu22.04
githubToken: ${{ github.token }}
install: |
apt-get update -y
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/haskell-ci-xenial.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
curl -sL https://downloads.haskell.org/ghcup/0.1.17.3/x86_64-linux-ghcup-0.1.17.3 > "$HOME/.ghcup/bin/ghcup"
chmod a+x "$HOME/.ghcup/bin/ghcup"
"$HOME/.ghcup/bin/ghcup" install ghc "$HCVER"
"$HOME/.ghcup/bin/ghcup" install cabal 3.6.2.0
"$HOME/.ghcup/bin/ghcup" install cabal 3.10.1.0
env:
HCKIND: ${{ matrix.compilerKind }}
HCNAME: ${{ matrix.compiler }}
Expand All @@ -45,7 +45,7 @@ jobs:
HC=$HOME/.ghcup/bin/$HCKIND-$HCVER
echo "HC=$HC" >> "$GITHUB_ENV"
echo "HCPKG=$HOME/.ghcup/bin/$HCKIND-pkg-$HCVER" >> "$GITHUB_ENV"
echo "CABAL=$HOME/.ghcup/bin/cabal-3.6.2.0 -vnormal+nowrap" >> "$GITHUB_ENV"
echo "CABAL=$HOME/.ghcup/bin/cabal-3.10.1.0 -vnormal+nowrap" >> "$GITHUB_ENV"
HCNUMVER=$(${HC} --numeric-version|perl -ne '/^(\d+)\.(\d+)\.(\d+)(\.(\d+))?$/; print(10000 * $1 + 100 * $2 + ($3 == 0 ? $5 != 1 : $3))')
echo "HCNUMVER=$HCNUMVER" >> "$GITHUB_ENV"
echo "ARG_TESTS=--enable-tests" >> "$GITHUB_ENV"
Expand Down Expand Up @@ -98,7 +98,7 @@ jobs:
chmod a+x $HOME/.cabal/bin/cabal-plan
cabal-plan --version
- name: checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
path: source
- name: initial cabal.project for sdist
Expand Down Expand Up @@ -134,7 +134,7 @@ jobs:
$CABAL v2-build $ARG_COMPILER $ARG_TESTS $ARG_BENCH --dry-run all
cabal-plan
- name: cache
uses: actions/cache@v2
uses: actions/cache@v3
with:
key: ${{ runner.os }}-${{ matrix.compiler }}-${{ github.sha }}
path: ~/.cabal/store
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/simdutf-flag-alpine.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,14 @@ jobs:
shell: bash
- name: Install GHC and cabal
run: |
ghcup install ghc --force -i /usr/local -u "https://downloads.haskell.org/ghc/9.4.1-alpha3/ghc-9.4.0.20220623-x86_64-alpine3_12-linux-static.tar.xz" 9.4.1
ghcup install cabal --force -i /usr/local/bin 3.6.2.0
ghcup install ghc --force -i /usr/local
ghcup install cabal --force -i /usr/local/bin
shell: bash

- name: Update cabal package database
run: cabal update

- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Test
run: |
cat > THLinkTest.hs <<EOF
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/simdutf-flag-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,17 @@ jobs:
strategy:
matrix:
os: ['windows-latest']
ghc: ['9.2.3']
ghc: ['latest']
fail-fast: false
steps:
- uses: actions/checkout@v2
- uses: haskell/actions/setup@v1
- uses: actions/checkout@v3
- uses: haskell/actions/setup@v2
id: setup-haskell-cabal
with:
ghc-version: ${{ matrix.ghc }}
- name: Update cabal package database
run: cabal update
- uses: actions/cache@v2
- uses: actions/cache@v3
name: Cache cabal stuff
with:
path: ${{ steps.setup-haskell-cabal.outputs.cabal-store }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/simdutf-flag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ jobs:
strategy:
matrix:
os: ['ubuntu-latest', 'windows-latest']
ghc: ['9.2.1']
ghc: ['latest']
fail-fast: false
steps:
- uses: actions/checkout@v2
- uses: haskell/actions/setup@v1
- uses: actions/checkout@v3
- uses: haskell/actions/setup@v2
id: setup-haskell-cabal
with:
ghc-version: ${{ matrix.ghc }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/windows_and_macOS.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@ jobs:
ghc: ['latest']
fail-fast: false
steps:
- uses: actions/checkout@v2
- uses: haskell/actions/setup@v1
- uses: actions/checkout@v3
- uses: haskell/actions/setup@v2
id: setup-haskell-cabal
with:
ghc-version: ${{ matrix.ghc }}
- name: Update cabal package database
run: cabal update
- uses: actions/cache@v2
- uses: actions/cache@v3
name: Cache cabal stuff
with:
path: ${{ steps.setup-haskell-cabal.outputs.cabal-store }}
Expand Down

0 comments on commit 4567941

Please sign in to comment.