Skip to content

A peer-to-peer stack for code collaboration

Use Stackage LTS 13.10

Thomas Scholtes30ee6c5303c4
diff --git a/.circleci/config.yml b/.circleci/config.yml
index 6d87dd7..4c7d64e 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -37,10 +37,11 @@ jobs:
command -v stack || {
curl -sSL https://get.haskellstack.org/ | sh
- stack config set system-ghc --global true
- stack config set install-ghc --global false
}
+ stack config set system-ghc --global true
+ stack config set install-ghc --global false
+
echo 'export PATH="$HOME/.cabal/bin:$HOME/.ghcup/bin:$PATH"' >> $BASH_ENV
- save_cache:
@@ -64,10 +65,9 @@ jobs:
- restore_cache:
keys:
- - stack-root-v3-pkg-1-{{ arch }}-ghc8.6.3-{{ checksum "snapshot.yaml" }}-{{ checksum "package.yaml" }}
- - stack-root-v3-pkg-1-{{ arch }}-ghc8.6.3-{{ checksum "snapshot.yaml" }}
- - stack-root-v3-pkg-1-{{ arch }}-ghc8.6.3-
- - stack-root-v2-{{ arch }}-ghc8.6.3-
+ - stack-root-v4-{{ arch }}-ghc8.6.3-{{ checksum "snapshot.yaml" }}-{{ checksum "package.yaml" }}
+ - stack-root-v4-{{ arch }}-ghc8.6.3-{{ checksum "snapshot.yaml" }}
+ - stack-root-v4-{{ arch }}-ghc8.6.3-
- run:
name: Build Dependencies
@@ -82,7 +82,7 @@ jobs:
rm -rf ~/.stack/indices/Hackage/00-index.tar*
- save_cache:
- key: stack-root-v3-pkg-1-{{ arch }}-ghc8.6.3-{{ checksum "snapshot.yaml" }}-{{ checksum "package.yaml" }}
+ key: stack-root-v4-{{ arch }}-ghc8.6.3-{{ checksum "snapshot.yaml" }}-{{ checksum "package.yaml" }}
paths:
- "~/.stack"
diff --git a/scripts/ci.sh b/scripts/ci.sh
index 95dbcec..d2d74bc 100755
--- a/scripts/ci.sh
+++ b/scripts/ci.sh
@@ -4,7 +4,7 @@ set -euo pipefail
dependency_hash=$( (cat package.yaml; cat snapshot.yaml) | sha256sum | cut -d ' ' -f 1)
-remote="gs://radicle-build-cache/v4"
+remote="gs://radicle-build-cache/v5"
local_cache_archive="stack-root.tar.gz"
remote_cache_master="$remote/stack-root-master.tar.gz"
diff --git a/snapshot.yaml b/snapshot.yaml
index 6023424..53c0f61 100644
--- a/snapshot.yaml
+++ b/snapshot.yaml
@@ -5,8 +5,8 @@
#
# See https://docs.haskellstack.org/en/stable/custom_snapshot/
#
-name: radicle-deps-13.2
-resolver: lts-13.2
+name: radicle-deps-13.10
+resolver: lts-13.10
packages:
- base58-bytestring-0.1.0@sha256:a1da72ee89d5450bac1c792d9fcbe95ed7154ab7246f2172b57bd4fd9b5eab79