diff --git a/.github/workflows/haskell-ci.yml b/.github/workflows/haskell-ci.yml index 2dc16e4..5fef311 100644 --- a/.github/workflows/haskell-ci.yml +++ b/.github/workflows/haskell-ci.yml @@ -8,32 +8,35 @@ # # For more information, see https://github.com/haskell-CI/haskell-ci # -# version: 0.13.20211030 +# version: 0.15.20221225 # -# REGENDATA ("0.13.20211030",["github","turtle.cabal"]) +# REGENDATA ("0.15.20221225",["github","turtle.cabal"]) # name: Haskell-CI on: + - push - pull_request jobs: linux: name: Haskell-CI - Linux - ${{ matrix.compiler }} - runs-on: ubuntu-18.04 + runs-on: ubuntu-20.04 + timeout-minutes: + 60 container: image: buildpack-deps:bionic continue-on-error: ${{ matrix.allow-failure }} strategy: matrix: include: - - compiler: ghc-9.2.1 + - compiler: ghc-9.2.5 compilerKind: ghc - compilerVersion: 9.2.1 + compilerVersion: 9.2.5 setup-method: ghcup allow-failure: false - - compiler: ghc-9.0.1 + - compiler: ghc-9.0.2 compilerKind: ghc - compilerVersion: 9.0.1 - setup-method: hvr-ppa + compilerVersion: 9.0.2 + setup-method: ghcup allow-failure: false - compiler: ghc-8.10.7 compilerKind: ghc @@ -60,6 +63,11 @@ jobs: compilerVersion: 8.2.2 setup-method: hvr-ppa allow-failure: false + - compiler: ghc-8.0.2 + compilerKind: ghc + compilerVersion: 8.0.2 + setup-method: hvr-ppa + allow-failure: false fail-fast: false steps: - name: apt @@ -68,18 +76,18 @@ jobs: apt-get install -y --no-install-recommends gnupg ca-certificates dirmngr curl git software-properties-common libtinfo5 if [ "${{ matrix.setup-method }}" = ghcup ]; then mkdir -p "$HOME/.ghcup/bin" - curl -sL https://downloads.haskell.org/ghcup/0.1.17.3/x86_64-linux-ghcup-0.1.17.3 > "$HOME/.ghcup/bin/ghcup" + curl -sL https://downloads.haskell.org/ghcup/0.1.18.0/x86_64-linux-ghcup-0.1.18.0 > "$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 ghc "$HCVER" || (cat "$HOME"/.ghcup/logs/*.* && false) + "$HOME/.ghcup/bin/ghcup" install cabal 3.6.2.0 || (cat "$HOME"/.ghcup/logs/*.* && false) else apt-add-repository -y 'ppa:hvr/ghc' apt-get update apt-get install -y "$HCNAME" mkdir -p "$HOME/.ghcup/bin" - curl -sL https://downloads.haskell.org/ghcup/0.1.17.3/x86_64-linux-ghcup-0.1.17.3 > "$HOME/.ghcup/bin/ghcup" + curl -sL https://downloads.haskell.org/ghcup/0.1.18.0/x86_64-linux-ghcup-0.1.18.0 > "$HOME/.ghcup/bin/ghcup" chmod a+x "$HOME/.ghcup/bin/ghcup" - "$HOME/.ghcup/bin/ghcup" install cabal 3.6.2.0 + "$HOME/.ghcup/bin/ghcup" install cabal 3.6.2.0 || (cat "$HOME"/.ghcup/logs/*.* && false) fi env: HCKIND: ${{ matrix.compilerKind }} @@ -139,6 +147,10 @@ jobs: repository hackage.haskell.org url: http://hackage.haskell.org/ EOF + cat >> $CABAL_CONFIG < +-- -- -- This library provides an extended suite of Unix-like utilities, but would -- still benefit from adding more utilities for better parity with the Unix diff --git a/turtle.cabal b/turtle.cabal index 4ee4cf0..a8e4c3d 100644 --- a/turtle.cabal +++ b/turtle.cabal @@ -7,7 +7,7 @@ License-File: LICENSE Copyright: 2015 Gabriella Gonzalez Author: Gabriella Gonzalez Maintainer: GenuineGabriella@gmail.com -Bug-Reports: https://github.com/Gabriella439/Haskell-Turtle-Library/issues +Bug-Reports: https://github.com/Gabriella439/turtle/issues Synopsis: Shell programming, Haskell-style Description: @turtle@ is a reimplementation of the Unix command line environment in Haskell so that you can use Haskell as both a shell and a scripting @@ -41,7 +41,7 @@ Description: @turtle@ is a reimplementation of the Unix command line environment Category: System Tested-With: - GHC == 9.2.1 + GHC == 9.2.5 GHC == 9.0.2 GHC == 8.10.7 GHC == 8.8.4 @@ -55,7 +55,7 @@ Extra-Source-Files: Source-Repository head Type: git - Location: https://github.com/Gabriella439/Haskell-Turtle-Library + Location: https://github.com/Gabriella439/turtle Library HS-Source-Dirs: src