Skip to content

Commit 2bcebff

Browse files
committed
ENH: Use latest actions, do not pin to latest version
The convention of only specifying the MAJOR version is the indicator that the latest version in that series should be used. By not specifying the MINOR and PATCH, the exact versions is not pinned, but the latest in that series is chosen. (i.e. the v5 tag is updated every time a new MINOR or PATCH tag is generated). This allows benefiting from minor patch fixes without needing to update workflows.
1 parent dffbbf5 commit 2bcebff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/apply-clang-format.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
runs-on: ubuntu-latest
1010

1111
steps:
12-
- uses: actions/checkout@v1
12+
- uses: actions/checkout@v4
1313
- uses: InsightSoftwareConsortium/ITKApplyClangFormatAction@master
1414
with:
1515
github-token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)