File tree 3 files changed +4
-32
lines changed
3 files changed +4
-32
lines changed Original file line number Diff line number Diff line change 21
21
key : ${{ runner.os }}-stackage-nightly-${{ hashFiles('**/build-constraints.yaml') }}
22
22
restore-keys : |
23
23
${{ runner.os }}-
24
- - run : etc/check.sh
24
+ - run : build-constraints/ etc/check-lts .sh
Original file line number Diff line number Diff line change 3
3
set -euxo pipefail
4
4
5
5
ETC=$( cd $( dirname $0 ) ; pwd)
6
- export GHCVER=$( sed -n " s/^ghc-version: \" \(.*\)\" /\1/p" " $ETC /../build-constraints.yaml" )
6
+ export GHCVER=$( sed -n " s/^ghc-version: \" \(.*\)\" /\1/p" " $ETC /../build-constraints/lts-23-build-constraints .yaml" )
7
7
8
8
# Download and unpack the stack executable
9
9
mkdir -p ~ /.local/bin
10
10
export PATH=$HOME /.local/bin:$PATH
11
11
curl -L https://www.stackage.org/stack/linux-x86_64 | tar xz --wildcards --strip-components=1 -C ~ /.local/bin ' */stack'
12
12
13
13
# Get new Stackage curator
14
- curl -L " https://github.com/commercialhaskell/curator/releases/download/commit-62d4bce549af5fccb5089b8aa319891dbe032ccb /curator.bz2" | bunzip2 > curator
14
+ curl -L " https://github.com/commercialhaskell/curator/releases/download/commit-6689440033b12182c0853bdd23880a84849eb6b2 /curator.bz2" | bunzip2 > curator
15
15
chmod +x curator
16
16
17
17
# Install GHC
18
18
stack setup $GHCVER
19
19
20
- # curator's constraint command has target as a required parameter
21
- # because of a different constraints handling in minor LTS version bumps
22
- NIGHTLY=" nightly-$( date +%Y-%m-%d) "
23
- # New curator check
24
- ./curator update &&
25
- ./curator constraints --target=$NIGHTLY &&
26
- ./curator snapshot-incomplete --target=$NIGHTLY &&
27
- ./curator snapshot &&
28
- stack --resolver ghc-$GHCVER exec ./curator check-snapshot
20
+ ./build-constraints/check-lts
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments