Skip to content

Commit 6342101

Browse files
hjmjohnsondzenanz
authored andcommitted
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 803fb79 commit 6342101

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/test-python-hasi.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ jobs:
1818
- os: macos-10.15
1919

2020
steps:
21-
- uses: actions/checkout@v1
21+
- uses: actions/checkout@v4
2222

2323
- name: Set up Python 3.7
24-
uses: actions/setup-python@v1
24+
uses: actions/setup-python@v5
2525
with:
2626
python-version: 3.7
2727

0 commit comments

Comments
 (0)