-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathgithub.yml.patch
35 lines (35 loc) · 1.27 KB
/
github.yml.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
diff --git a/.github/workflows/haskell-ci.yml b/.github/workflows/haskell-ci.yml
index 417a210..5fa3f49 100644
--- a/.github/workflows/haskell-ci.yml
+++ b/.github/workflows/haskell-ci.yml
@@ -12,6 +12,9 @@
#
# REGENDATA ("0.16.3",["github","cabal.project"])
#
+# This file is patched to install the typediff utility from its repository
+# (see github.yml.patch).
+#
name: Haskell-CI
on:
- push
@@ -136,6 +139,8 @@ jobs:
- name: Set PATH and environment variables
run: |
echo "$HOME/.cabal/bin" >> $GITHUB_PATH
+ echo "$HOME/.local/bin" >> $GITHUB_PATH
+ echo "$HOME/.ghcup/bin" >> $GITHUB_PATH
echo "LANG=C.UTF-8" >> "$GITHUB_ENV"
echo "CABAL_DIR=$HOME/.cabal" >> "$GITHUB_ENV"
echo "CABAL_CONFIG=$HOME/.cabal/config" >> "$GITHUB_ENV"
@@ -209,6 +214,11 @@ jobs:
rm -f cabal-plan.xz
chmod a+x $HOME/.cabal/bin/cabal-plan
cabal-plan --version
+ - name: install typediff
+ run: |
+ mkdir -p $HOME/.local/bin
+ curl -L https://github.com/haskell-compat/base-compat/releases/download/typediff-0.1.6/typediff > $HOME/.local/bin/typediff
+ chmod a+x $HOME/.local/bin/typediff
- name: checkout
uses: actions/checkout@v3
with: