Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix CI: update all actions #184

Merged
merged 2 commits into from
May 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions .github/workflows/ghc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,14 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
os: [ubuntu-latest, windows-latest, macos-12]

steps:
- name: 📥 Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: 🧰 Setup Stack
uses: freckle/stack-action@v4
uses: freckle/stack-action@v5

- name: Tar and strip the binary
run: |
Expand All @@ -53,7 +53,7 @@ jobs:
shell: bash

- name: Upload rzk binary as Artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
path: rzk-bin.tar.gz
name: rzk-${{ runner.os }}-${{ runner.arch }}.tar.gz
Expand All @@ -67,10 +67,10 @@ jobs:

steps:
- name: 📥 Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: 🧰 Setup Stack
uses: freckle/stack-action@v4
uses: freckle/stack-action@v5

- name: 🔨 Build Haddock Documentation (with Stack)
run: |
Expand All @@ -93,11 +93,11 @@ jobs:

steps:
- name: 📥 Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: 📥 Download rzk
id: download
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: rzk-${{ runner.os }}-${{ runner.arch }}.tar.gz

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ghcjs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
uses: actions/checkout@v4

- name: ❄️ Install Nix
uses: nixbuild/nix-quick-install-action@v25
uses: nixbuild/nix-quick-install-action@v27
with:
nix_conf: |
substituters = https://cache.nixos.org/ https://cache.iog.io https://nix-community.cachix.org https://miso-haskell.cachix.org
Expand Down
16 changes: 7 additions & 9 deletions .github/workflows/mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: MKDocs

on:
push:
branches: [develop,mkdocs-*]
branches: [develop, mkdocs-*]
tags: [v*]
paths:
- .github/workflows/mkdocs.yml
Expand All @@ -19,12 +19,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: 📥 Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: 🧰 Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: "3.9"
cache: "pip" # caching pip dependencies
Expand All @@ -38,15 +38,13 @@ jobs:
chmod: 0755

- name: Check Rzk files for each language
run:
for lang_dir in $(ls -d docs/docs/*/); do
pushd ${lang_dir} && rzk typecheck; popd ;
run: for lang_dir in $(ls -d docs/docs/*/); do
pushd ${lang_dir} && rzk typecheck; popd ;
done

- name: Check Rzk formatting for each language
run:
for lang_dir in $(ls -d docs/docs/*/); do
pushd ${lang_dir} && rzk format --check; popd ;
run: for lang_dir in $(ls -d docs/docs/*/); do
pushd ${lang_dir} && rzk format --check; popd ;
done

- name: 🔨 Install MkDocs Material and mike
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: 📥 Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: 🧰 Setup Stack
uses: freckle/stack-action@v4
uses: freckle/stack-action@v5
with:
fast: false

Expand All @@ -37,10 +37,10 @@ jobs:

steps:
- name: 📥 Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: 🧰 Setup Stack
uses: freckle/stack-action@v4
uses: freckle/stack-action@v5
with:
fast: false

Expand Down
Loading