Skip to content

Commit 77393b8

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 5708f5b commit 77393b8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/lint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
runs-on: ubuntu-latest
88

99
steps:
10-
- uses: actions/checkout@v4.2.2
10+
- uses: actions/checkout@v4
1111
with:
1212
# Full git history is needed to get a proper
1313
# list of changed files within `super-linter`
@@ -17,7 +17,7 @@ jobs:
1717
uses: InsightSoftwareConsortium/ITKClangFormatLinterAction@master
1818

1919
- name: Set up Python
20-
uses: actions/setup-python@v5.4.0
20+
uses: actions/setup-python@v5
2121
with:
2222
python-version: 3.11
2323

0 commit comments

Comments
 (0)