Skip to content

Commit

Permalink
(misc) update GitHub Actions to modern versions running on Node20 per…
Browse files Browse the repository at this point in the history
… upcoming GitHub policy
  • Loading branch information
amkrajewski committed Mar 18, 2024
1 parent ba68dff commit 93feb6c
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 16 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/compileBinariesOnRelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- uses: jiro4989/setup-nim-action@v1
with:
nim-version: '2.0.0'
Expand Down Expand Up @@ -48,7 +48,7 @@ jobs:
runs-on: macos-12
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Install Nim with Homebrew
run: brew install nim
- name: Install dependencies
Expand Down Expand Up @@ -85,7 +85,7 @@ jobs:
runs-on: macos-13
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Install Nim with Homebrew
run: brew install nim
- name: Install dependencies
Expand Down Expand Up @@ -122,7 +122,7 @@ jobs:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- uses: jiro4989/setup-nim-action@v1
with:
nim-version: '2.0.0'
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/generateDocumentation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- uses: jiro4989/setup-nim-action@v1
with:
nim-version: '2.0.0'
nim-version: '2.0.2'
repo-token: ${{ secrets.GITHUB_TOKEN }}
- run: nimble refresh
- run: nimble install
Expand All @@ -42,11 +42,11 @@ jobs:
- name: Copy assets to docs
run: cp -r assets docs/assets
- name: Setup Pages
uses: actions/configure-pages@v3
uses: actions/configure-pages@v4
- name: Upload artifact
uses: actions/upload-pages-artifact@v2
uses: actions/upload-pages-artifact@v3
with:
path: 'docs'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
uses: actions/deploy-pages@v4
4 changes: 2 additions & 2 deletions .github/workflows/testingOnPush_Apple.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: macos-12
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Install Nim with Homebrew
run: brew install nim
- name: Install dependencies
Expand All @@ -30,7 +30,7 @@ jobs:
runs-on: macos-14
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Install Nim with Homebrew
run: brew install nim
- name: Install dependencies
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/testingOnPush_Linux.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- uses: jiro4989/setup-nim-action@v1
with:
nim-version: '2.0.0'
nim-version: '2.0.2'
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Install dependencies
run: nimble install -y arraymancer nimpy
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/testingOnPush_Windows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,17 @@ jobs:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Install Miniconda
uses: conda-incubator/setup-miniconda@v2
uses: conda-incubator/setup-miniconda@v3
with:
auto-update-conda: true
python-version: '3.10'
- name: Install Nim
run: conda install -c conda-forge libopenblas mkl
- uses: jiro4989/setup-nim-action@v1
with:
nim-version: '2.0.0'
nim-version: '2.0.2'
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Install dependencies
run: nimble install -y arraymancer nimpy
Expand Down

0 comments on commit 93feb6c

Please sign in to comment.