Skip to content

Commit

Permalink
ENH: Fix clang-format workflow actions warnings linked to Node.js
Browse files Browse the repository at this point in the history
Fix `clang-format` linter workflow action warnings linked to `Node.js`:
bump `actions/checkout` to `v3`.

Fixes:
```
Node.js 12 actions are deprecated.
Please update the following actions to use Node.js 16: actions/checkout@v2.
For more information see:
https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/.
```

raised for example in:
https://github.com/InsightSoftwareConsortium/ITK/actions/runs/3907066020
  • Loading branch information
jhlegarreta authored and dzenanz committed Jan 13, 2023
1 parent ec67f09 commit 7916860
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/clang-format-linter.yml
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: InsightSoftwareConsortium/ITKClangFormatLinterAction@master
with:
error-message: 'Code is inconsistent with ITK Coding Style. Add the *action:ApplyClangFormat* PR label to correct.'

0 comments on commit 7916860

Please sign in to comment.