Skip to content

Commit 12dcc36

Browse files
authored
Merge pull request #6215 from IntersectMBO/hkm/update-haskell-nix
Use Latest Haskell.nix
2 parents b60d6d7 + ed3385a commit 12dcc36

18 files changed

+214
-273
lines changed

.github/workflows/check-cabal-files.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
with:
1616
cabal-version: "3.10.2.0"
1717

18-
- uses: actions/checkout@v3
18+
- uses: actions/checkout@v4
1919

2020
- name: Cabal check
2121
run: ./scripts/ci/check-cabal-files.sh

.github/workflows/check-git-dependencies.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414

1515
steps:
1616

17-
- uses: actions/checkout@v3
17+
- uses: actions/checkout@v4
1818

1919
- name: Check git dependencies
2020
run: |

.github/workflows/check-mainnet-config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
substituters = https://cache.nixos.org https://cache.iog.io
2828
trusted-public-keys = hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ= cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
2929
30-
- uses: actions/checkout@v3
30+
- uses: actions/checkout@v4
3131

3232
- name: Refresh cardano-node mainnet configuration
3333
run: |

.github/workflows/github-page.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
substituters = https://cache.nixos.org https://cache.iog.io
2828
trusted-public-keys = hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ= cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
2929
30-
- uses: actions/checkout@v3
30+
- uses: actions/checkout@v4
3131

3232
- name: Fetch nix cache and update cabal indices
3333
run: |
@@ -58,7 +58,7 @@ jobs:
5858

5959
- name: Deploy documentation to gh-pages 🚀
6060
if: github.ref == 'refs/heads/master'
61-
uses: peaceiris/actions-gh-pages@v3
61+
uses: peaceiris/actions-gh-pages@v4
6262
with:
6363
github_token: ${{ secrets.GITHUB_TOKEN || github.token }}
6464
publish_dir: haddocks

.github/workflows/haskell.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ jobs:
261261
- name: Create Release Tag
262262
id: create_release_tag
263263
run: |
264-
echo "TAG=${GITHUB_REF/refs\/tags\//}" >> $GITHUB_OUTPUT
264+
echo "TAG=${GITHUB_REF/refs\/tags\//}" >> "$GITHUB_OUTPUT"
265265
266266
- name: Create Release
267267
id: create_release
@@ -275,7 +275,7 @@ jobs:
275275
prerelease: false
276276

277277
- name: Download Artifact
278-
uses: actions/download-artifact@v1
278+
uses: actions/download-artifact@v4
279279
with:
280280
name: artifacts-ubuntu-latest
281281

.github/workflows/markdown-links-ci-check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
markdown-link-check:
99
runs-on: ubuntu-latest
1010
steps:
11-
- uses: actions/checkout@v3
11+
- uses: actions/checkout@v4
1212
- uses: tcort/github-action-markdown-link-check@v1
1313
with:
1414
use-quiet-mode: yes

.github/workflows/nightly-trigger.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515

1616
steps:
1717

18-
- uses: actions/checkout@v3
18+
- uses: actions/checkout@v4
1919

2020
- name: Tag
2121
run: |

.github/workflows/stale-bot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
stale:
88
runs-on: ubuntu-latest
99
steps:
10-
- uses: actions/stale@v6
10+
- uses: actions/stale@v9
1111
with:
1212
stale-issue-message: 'This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 120 days.'
1313
stale-pr-message: 'This PR is stale because it has been open 45 days with no activity.'

.github/workflows/stylish-haskell.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,9 @@ jobs:
5050
"https://github.com/haskell/stylish-haskell/releases/download/v$version/stylish-haskell-v$version-linux-x86_64.tar.gz" \
5151
| tar -C "/tmp" -xz
5252
53-
echo "PATH=/tmp/stylish-haskell-v$version-linux-x86_64:$PATH" >> $GITHUB_ENV
53+
echo "PATH=/tmp/stylish-haskell-v$version-linux-x86_64:$PATH" >> "$GITHUB_ENV"
5454
55-
- uses: actions/checkout@v3
55+
- uses: actions/checkout@v4
5656

5757
- name: Run stylish-haskell over all Haskell files (always succeeds)
5858
run: |
@@ -61,10 +61,10 @@ jobs:
6161
6262
for x in $(git ls-tree --full-tree --name-only -r HEAD ${{ env.STYLISH_HASKELL_PATHS }}); do
6363
if [ "${x##*.}" == "hs" ]; then
64-
if grep -qE '^#' $x; then
64+
if grep -qE '^#' "$x"; then
6565
echo "$x contains CPP. Skipping."
6666
else
67-
stylish-haskell -i $x
67+
stylish-haskell -i "$x"
6868
fi
6969
fi
7070
done
@@ -78,10 +78,10 @@ jobs:
7878
git fetch origin ${{ github.base_ref }} --unshallow
7979
for x in $(git diff --name-only --diff-filter=ACMR origin/${{ github.base_ref }}..HEAD ${{ env.STYLISH_HASKELL_PATHS }}); do
8080
if [ "${x##*.}" == "hs" ]; then
81-
if grep -qE '^#' $x; then
81+
if grep -qE '^#' "$x"; then
8282
echo "$x contains CPP. Skipping."
8383
else
84-
stylish-haskell -i $x
84+
stylish-haskell -i "$x"
8585
fi
8686
fi
8787
done

.github/workflows/update-hackage-and-chap.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
trusted-public-keys = hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ= cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
2424
2525
- name: Checkout repository
26-
uses: actions/checkout@v3
26+
uses: actions/checkout@v4
2727

2828
- name: Update flake.lock
2929
uses: DeterminateSystems/update-flake-lock@v19

0 commit comments

Comments
 (0)