Skip to content

Commit

Permalink
ENH: Bump Github actions versions
Browse files Browse the repository at this point in the history
Bump Github actions version in the `Build, test` workflow file.

Fixes:
```
Node.js 16 actions are deprecated.
 Please update the following actions to use Node.js 20:
 actions/cache@v3, actions/setup-python@v4, actions/checkout@v3.
 For more information see:
 https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
```

raised for example in:
https://github.com/carpentries-incubator/SDC-BIDS-dMRI/actions/runs/9655229240
  • Loading branch information
jhlegarreta committed Jun 27, 2024
1 parent 33f13bf commit 4fa581a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:

steps:
- name: Cache Ubuntu dependencies
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
/var/lib/apt
Expand Down Expand Up @@ -62,7 +62,7 @@ jobs:
sudo apt-get clean
- name: Cache ANTs install
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: /opt/ants
key: ants-v1
Expand All @@ -77,7 +77,7 @@ jobs:
fi
- name: Cache FSL install
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: $FSLPATH
key: fsl-v2
Expand All @@ -86,7 +86,7 @@ jobs:
# Run with multiple Python versions
- name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

Expand All @@ -101,7 +101,7 @@ jobs:
fi
- name: Checkout GitHub repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install dependencies for headless display
run: |
Expand Down

0 comments on commit 4fa581a

Please sign in to comment.