Skip to content

Commit 798073c

Browse files
committed
gha: Dropped minor/patch version pinning of actions
With GitHub forcibly deprecating old versions of actions, pinning the minor/patch version is more likely to cause breakage than not.
1 parent 7db9e16 commit 798073c

File tree

3 files changed

+32
-32
lines changed

3 files changed

+32
-32
lines changed

.github/workflows/release.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
github.event.workflow_run.head_sha == github.sha}}
2121

2222
steps:
23-
- uses: actions/checkout@v4.1.7
23+
- uses: actions/checkout@v4
2424
with:
2525
ref: ${{github.event.workflow_run.head_sha}}
2626
# need workflow access since we push branches
@@ -30,23 +30,23 @@ jobs:
3030
fetch-depth: 0
3131

3232
# try to get results from tests
33-
- uses: actions/download-artifact@v4.1.8
33+
- uses: actions/download-artifact@v4
3434
continue-on-error: true
3535
with:
3636
github-token: ${{secrets.GITHUB_TOKEN}}
3737
run-id: ${{github.event.workflow_run.id}}
3838
pattern: '{sizes,sizes-*}'
3939
merge-multiple: true
4040
path: sizes
41-
- uses: actions/download-artifact@v4.1.8
41+
- uses: actions/download-artifact@v4
4242
continue-on-error: true
4343
with:
4444
github-token: ${{secrets.GITHUB_TOKEN}}
4545
run-id: ${{github.event.workflow_run.id}}
4646
pattern: '{cov,cov-*}'
4747
merge-multiple: true
4848
path: cov
49-
- uses: actions/download-artifact@v4.1.8
49+
- uses: actions/download-artifact@v4
5050
continue-on-error: true
5151
with:
5252
github-token: ${{secrets.GITHUB_TOKEN}}

.github/workflows/status.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
status:
1414
runs-on: ubuntu-latest
1515
steps:
16-
- uses: actions/download-artifact@v4.1.8
16+
- uses: actions/download-artifact@v4
1717
continue-on-error: true
1818
with:
1919
github-token: ${{secrets.GITHUB_TOKEN}}
@@ -68,7 +68,7 @@ jobs:
6868

6969
steps:
7070
# generated comment?
71-
- uses: actions/download-artifact@v4.1.8
71+
- uses: actions/download-artifact@v4
7272
continue-on-error: true
7373
with:
7474
github-token: ${{secrets.GITHUB_TOKEN}}

.github/workflows/test.yml

+26-26
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
arch: [x86_64, thumb, mips, powerpc]
2222

2323
steps:
24-
- uses: actions/checkout@v4.1.7
24+
- uses: actions/checkout@v4
2525
- name: install
2626
run: |
2727
# need a few things
@@ -235,7 +235,7 @@ jobs:
235235
236236
# create size statuses
237237
- name: upload-sizes
238-
uses: actions/upload-artifact@v4.4.0
238+
uses: actions/upload-artifact@v4
239239
with:
240240
name: sizes-${{matrix.arch}}
241241
path: sizes
@@ -274,7 +274,7 @@ jobs:
274274
done
275275
- name: upload-status-sizes
276276
if: ${{matrix.arch == 'x86_64'}}
277-
uses: actions/upload-artifact@v4.4.0
277+
uses: actions/upload-artifact@v4
278278
with:
279279
name: status-sizes-${{matrix.arch}}
280280
path: status
@@ -283,7 +283,7 @@ jobs:
283283
# create cov statuses
284284
- name: upload-cov
285285
if: ${{matrix.arch == 'x86_64'}}
286-
uses: actions/upload-artifact@v4.4.0
286+
uses: actions/upload-artifact@v4
287287
with:
288288
name: cov
289289
path: cov
@@ -320,7 +320,7 @@ jobs:
320320
done
321321
- name: upload-status-cov
322322
if: ${{matrix.arch == 'x86_64'}}
323-
uses: actions/upload-artifact@v4.4.0
323+
uses: actions/upload-artifact@v4
324324
with:
325325
name: status-cov
326326
path: status
@@ -337,7 +337,7 @@ jobs:
337337
pls: [1, 2]
338338

339339
steps:
340-
- uses: actions/checkout@v4.1.7
340+
- uses: actions/checkout@v4
341341
- name: install
342342
run: |
343343
# need a few things
@@ -362,7 +362,7 @@ jobs:
362362
test-no-intrinsics:
363363
runs-on: ubuntu-latest
364364
steps:
365-
- uses: actions/checkout@v4.1.7
365+
- uses: actions/checkout@v4
366366
- name: install
367367
run: |
368368
# need a few things
@@ -379,7 +379,7 @@ jobs:
379379
test-multiversion:
380380
runs-on: ubuntu-latest
381381
steps:
382-
- uses: actions/checkout@v4.1.7
382+
- uses: actions/checkout@v4
383383
- name: install
384384
run: |
385385
# need a few things
@@ -396,7 +396,7 @@ jobs:
396396
test-lfs2_0:
397397
runs-on: ubuntu-latest
398398
steps:
399-
- uses: actions/checkout@v4.1.7
399+
- uses: actions/checkout@v4
400400
- name: install
401401
run: |
402402
# need a few things
@@ -415,7 +415,7 @@ jobs:
415415
test-valgrind:
416416
runs-on: ubuntu-latest
417417
steps:
418-
- uses: actions/checkout@v4.1.7
418+
- uses: actions/checkout@v4
419419
- name: install
420420
run: |
421421
# need a few things
@@ -437,7 +437,7 @@ jobs:
437437
test-clang:
438438
runs-on: ubuntu-latest
439439
steps:
440-
- uses: actions/checkout@v4.1.7
440+
- uses: actions/checkout@v4
441441
- name: install
442442
run: |
443443
# need a few things
@@ -460,7 +460,7 @@ jobs:
460460
bench:
461461
runs-on: ubuntu-latest
462462
steps:
463-
- uses: actions/checkout@v4.1.7
463+
- uses: actions/checkout@v4
464464
- name: install
465465
run: |
466466
# need a few things
@@ -492,7 +492,7 @@ jobs:
492492
493493
# create bench statuses
494494
- name: upload-bench
495-
uses: actions/upload-artifact@v4.4.0
495+
uses: actions/upload-artifact@v4
496496
with:
497497
name: bench
498498
path: bench
@@ -526,7 +526,7 @@ jobs:
526526
}' | tee status/$(basename $f .csv)-$s.json
527527
done
528528
- name: upload-status-bench
529-
uses: actions/upload-artifact@v4.4.0
529+
uses: actions/upload-artifact@v4
530530
with:
531531
name: status-bench
532532
path: status
@@ -536,10 +536,10 @@ jobs:
536536
test-compat:
537537
runs-on: ubuntu-latest
538538
steps:
539-
- uses: actions/checkout@v4.1.7
539+
- uses: actions/checkout@v4
540540
if: ${{github.event_name == 'pull_request'}}
541541
# checkout the current pr target into lfsp
542-
- uses: actions/checkout@v4.1.7
542+
- uses: actions/checkout@v4
543543
if: ${{github.event_name == 'pull_request'}}
544544
with:
545545
ref: ${{github.event.pull_request.base.ref}}
@@ -573,7 +573,7 @@ jobs:
573573
runs-on: ubuntu-latest
574574
if: ${{!endsWith(github.ref, '-prefix')}}
575575
steps:
576-
- uses: actions/checkout@v4.1.7
576+
- uses: actions/checkout@v4
577577
- name: install
578578
run: |
579579
# need a few things
@@ -583,7 +583,7 @@ jobs:
583583
gcc --version
584584
python3 --version
585585
fusermount -V
586-
- uses: actions/checkout@v4.1.7
586+
- uses: actions/checkout@v4
587587
with:
588588
repository: littlefs-project/littlefs-fuse
589589
ref: v2
@@ -623,7 +623,7 @@ jobs:
623623
runs-on: ubuntu-latest
624624
if: ${{!endsWith(github.ref, '-prefix')}}
625625
steps:
626-
- uses: actions/checkout@v4.1.7
626+
- uses: actions/checkout@v4
627627
- name: install
628628
run: |
629629
# need a few things
@@ -633,12 +633,12 @@ jobs:
633633
gcc --version
634634
python3 --version
635635
fusermount -V
636-
- uses: actions/checkout@v4.1.7
636+
- uses: actions/checkout@v4
637637
with:
638638
repository: littlefs-project/littlefs-fuse
639639
ref: v2
640640
path: v2
641-
- uses: actions/checkout@v4.1.7
641+
- uses: actions/checkout@v4
642642
with:
643643
repository: littlefs-project/littlefs-fuse
644644
ref: v1
@@ -695,7 +695,7 @@ jobs:
695695
runs-on: ubuntu-latest
696696
needs: [test, bench]
697697
steps:
698-
- uses: actions/checkout@v4.1.7
698+
- uses: actions/checkout@v4
699699
if: ${{github.event_name == 'pull_request'}}
700700
- name: install
701701
if: ${{github.event_name == 'pull_request'}}
@@ -705,21 +705,21 @@ jobs:
705705
pip3 install toml
706706
gcc --version
707707
python3 --version
708-
- uses: actions/download-artifact@v4.1.8
708+
- uses: actions/download-artifact@v4
709709
if: ${{github.event_name == 'pull_request'}}
710710
continue-on-error: true
711711
with:
712712
pattern: '{sizes,sizes-*}'
713713
merge-multiple: true
714714
path: sizes
715-
- uses: actions/download-artifact@v4.1.8
715+
- uses: actions/download-artifact@v4
716716
if: ${{github.event_name == 'pull_request'}}
717717
continue-on-error: true
718718
with:
719719
pattern: '{cov,cov-*}'
720720
merge-multiple: true
721721
path: cov
722-
- uses: actions/download-artifact@v4.1.8
722+
- uses: actions/download-artifact@v4
723723
if: ${{github.event_name == 'pull_request'}}
724724
continue-on-error: true
725725
with:
@@ -866,7 +866,7 @@ jobs:
866866
body: $comment,
867867
}' | tee comment/comment.json
868868
- name: upload-comment
869-
uses: actions/upload-artifact@v4.4.0
869+
uses: actions/upload-artifact@v4
870870
with:
871871
name: comment
872872
path: comment

0 commit comments

Comments
 (0)