Skip to content

Commit

Permalink
Merge pull request #184 from rzk-lang/fix-ci
Browse files Browse the repository at this point in the history
Fix CI: update all actions
  • Loading branch information
fizruk authored May 2, 2024
2 parents 7a78f52 + 74be141 commit 013b412
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 22 deletions.
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

0 comments on commit 013b412

Please sign in to comment.