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.
This commit is contained in:
@@ -20,7 +20,7 @@ jobs:
|
|||||||
github.event.workflow_run.head_sha == github.sha}}
|
github.event.workflow_run.head_sha == github.sha}}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4.1.7
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
ref: ${{github.event.workflow_run.head_sha}}
|
ref: ${{github.event.workflow_run.head_sha}}
|
||||||
# need workflow access since we push branches
|
# need workflow access since we push branches
|
||||||
@@ -30,7 +30,7 @@ jobs:
|
|||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
# try to get results from tests
|
# try to get results from tests
|
||||||
- uses: actions/download-artifact@v4.1.8
|
- uses: actions/download-artifact@v4
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
with:
|
with:
|
||||||
github-token: ${{secrets.GITHUB_TOKEN}}
|
github-token: ${{secrets.GITHUB_TOKEN}}
|
||||||
@@ -38,7 +38,7 @@ jobs:
|
|||||||
pattern: '{sizes,sizes-*}'
|
pattern: '{sizes,sizes-*}'
|
||||||
merge-multiple: true
|
merge-multiple: true
|
||||||
path: sizes
|
path: sizes
|
||||||
- uses: actions/download-artifact@v4.1.8
|
- uses: actions/download-artifact@v4
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
with:
|
with:
|
||||||
github-token: ${{secrets.GITHUB_TOKEN}}
|
github-token: ${{secrets.GITHUB_TOKEN}}
|
||||||
@@ -46,7 +46,7 @@ jobs:
|
|||||||
pattern: '{cov,cov-*}'
|
pattern: '{cov,cov-*}'
|
||||||
merge-multiple: true
|
merge-multiple: true
|
||||||
path: cov
|
path: cov
|
||||||
- uses: actions/download-artifact@v4.1.8
|
- uses: actions/download-artifact@v4
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
with:
|
with:
|
||||||
github-token: ${{secrets.GITHUB_TOKEN}}
|
github-token: ${{secrets.GITHUB_TOKEN}}
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ jobs:
|
|||||||
status:
|
status:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/download-artifact@v4.1.8
|
- uses: actions/download-artifact@v4
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
with:
|
with:
|
||||||
github-token: ${{secrets.GITHUB_TOKEN}}
|
github-token: ${{secrets.GITHUB_TOKEN}}
|
||||||
@@ -68,7 +68,7 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
# generated comment?
|
# generated comment?
|
||||||
- uses: actions/download-artifact@v4.1.8
|
- uses: actions/download-artifact@v4
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
with:
|
with:
|
||||||
github-token: ${{secrets.GITHUB_TOKEN}}
|
github-token: ${{secrets.GITHUB_TOKEN}}
|
||||||
|
|||||||
+26
-26
@@ -21,7 +21,7 @@ jobs:
|
|||||||
arch: [x86_64, thumb, mips, powerpc]
|
arch: [x86_64, thumb, mips, powerpc]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4.1.7
|
- uses: actions/checkout@v4
|
||||||
- name: install
|
- name: install
|
||||||
run: |
|
run: |
|
||||||
# need a few things
|
# need a few things
|
||||||
@@ -235,7 +235,7 @@ jobs:
|
|||||||
|
|
||||||
# create size statuses
|
# create size statuses
|
||||||
- name: upload-sizes
|
- name: upload-sizes
|
||||||
uses: actions/upload-artifact@v4.4.0
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: sizes-${{matrix.arch}}
|
name: sizes-${{matrix.arch}}
|
||||||
path: sizes
|
path: sizes
|
||||||
@@ -274,7 +274,7 @@ jobs:
|
|||||||
done
|
done
|
||||||
- name: upload-status-sizes
|
- name: upload-status-sizes
|
||||||
if: ${{matrix.arch == 'x86_64'}}
|
if: ${{matrix.arch == 'x86_64'}}
|
||||||
uses: actions/upload-artifact@v4.4.0
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: status-sizes-${{matrix.arch}}
|
name: status-sizes-${{matrix.arch}}
|
||||||
path: status
|
path: status
|
||||||
@@ -283,7 +283,7 @@ jobs:
|
|||||||
# create cov statuses
|
# create cov statuses
|
||||||
- name: upload-cov
|
- name: upload-cov
|
||||||
if: ${{matrix.arch == 'x86_64'}}
|
if: ${{matrix.arch == 'x86_64'}}
|
||||||
uses: actions/upload-artifact@v4.4.0
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: cov
|
name: cov
|
||||||
path: cov
|
path: cov
|
||||||
@@ -320,7 +320,7 @@ jobs:
|
|||||||
done
|
done
|
||||||
- name: upload-status-cov
|
- name: upload-status-cov
|
||||||
if: ${{matrix.arch == 'x86_64'}}
|
if: ${{matrix.arch == 'x86_64'}}
|
||||||
uses: actions/upload-artifact@v4.4.0
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: status-cov
|
name: status-cov
|
||||||
path: status
|
path: status
|
||||||
@@ -337,7 +337,7 @@ jobs:
|
|||||||
pls: [1, 2]
|
pls: [1, 2]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4.1.7
|
- uses: actions/checkout@v4
|
||||||
- name: install
|
- name: install
|
||||||
run: |
|
run: |
|
||||||
# need a few things
|
# need a few things
|
||||||
@@ -362,7 +362,7 @@ jobs:
|
|||||||
test-no-intrinsics:
|
test-no-intrinsics:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4.1.7
|
- uses: actions/checkout@v4
|
||||||
- name: install
|
- name: install
|
||||||
run: |
|
run: |
|
||||||
# need a few things
|
# need a few things
|
||||||
@@ -379,7 +379,7 @@ jobs:
|
|||||||
test-multiversion:
|
test-multiversion:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4.1.7
|
- uses: actions/checkout@v4
|
||||||
- name: install
|
- name: install
|
||||||
run: |
|
run: |
|
||||||
# need a few things
|
# need a few things
|
||||||
@@ -396,7 +396,7 @@ jobs:
|
|||||||
test-lfs2_0:
|
test-lfs2_0:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4.1.7
|
- uses: actions/checkout@v4
|
||||||
- name: install
|
- name: install
|
||||||
run: |
|
run: |
|
||||||
# need a few things
|
# need a few things
|
||||||
@@ -415,7 +415,7 @@ jobs:
|
|||||||
test-valgrind:
|
test-valgrind:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4.1.7
|
- uses: actions/checkout@v4
|
||||||
- name: install
|
- name: install
|
||||||
run: |
|
run: |
|
||||||
# need a few things
|
# need a few things
|
||||||
@@ -437,7 +437,7 @@ jobs:
|
|||||||
test-clang:
|
test-clang:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4.1.7
|
- uses: actions/checkout@v4
|
||||||
- name: install
|
- name: install
|
||||||
run: |
|
run: |
|
||||||
# need a few things
|
# need a few things
|
||||||
@@ -460,7 +460,7 @@ jobs:
|
|||||||
bench:
|
bench:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4.1.7
|
- uses: actions/checkout@v4
|
||||||
- name: install
|
- name: install
|
||||||
run: |
|
run: |
|
||||||
# need a few things
|
# need a few things
|
||||||
@@ -492,7 +492,7 @@ jobs:
|
|||||||
|
|
||||||
# create bench statuses
|
# create bench statuses
|
||||||
- name: upload-bench
|
- name: upload-bench
|
||||||
uses: actions/upload-artifact@v4.4.0
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: bench
|
name: bench
|
||||||
path: bench
|
path: bench
|
||||||
@@ -526,7 +526,7 @@ jobs:
|
|||||||
}' | tee status/$(basename $f .csv)-$s.json
|
}' | tee status/$(basename $f .csv)-$s.json
|
||||||
done
|
done
|
||||||
- name: upload-status-bench
|
- name: upload-status-bench
|
||||||
uses: actions/upload-artifact@v4.4.0
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: status-bench
|
name: status-bench
|
||||||
path: status
|
path: status
|
||||||
@@ -536,10 +536,10 @@ jobs:
|
|||||||
test-compat:
|
test-compat:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4.1.7
|
- uses: actions/checkout@v4
|
||||||
if: ${{github.event_name == 'pull_request'}}
|
if: ${{github.event_name == 'pull_request'}}
|
||||||
# checkout the current pr target into lfsp
|
# checkout the current pr target into lfsp
|
||||||
- uses: actions/checkout@v4.1.7
|
- uses: actions/checkout@v4
|
||||||
if: ${{github.event_name == 'pull_request'}}
|
if: ${{github.event_name == 'pull_request'}}
|
||||||
with:
|
with:
|
||||||
ref: ${{github.event.pull_request.base.ref}}
|
ref: ${{github.event.pull_request.base.ref}}
|
||||||
@@ -573,7 +573,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: ${{!endsWith(github.ref, '-prefix')}}
|
if: ${{!endsWith(github.ref, '-prefix')}}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4.1.7
|
- uses: actions/checkout@v4
|
||||||
- name: install
|
- name: install
|
||||||
run: |
|
run: |
|
||||||
# need a few things
|
# need a few things
|
||||||
@@ -583,7 +583,7 @@ jobs:
|
|||||||
gcc --version
|
gcc --version
|
||||||
python3 --version
|
python3 --version
|
||||||
fusermount -V
|
fusermount -V
|
||||||
- uses: actions/checkout@v4.1.7
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
repository: littlefs-project/littlefs-fuse
|
repository: littlefs-project/littlefs-fuse
|
||||||
ref: v2
|
ref: v2
|
||||||
@@ -623,7 +623,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: ${{!endsWith(github.ref, '-prefix')}}
|
if: ${{!endsWith(github.ref, '-prefix')}}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4.1.7
|
- uses: actions/checkout@v4
|
||||||
- name: install
|
- name: install
|
||||||
run: |
|
run: |
|
||||||
# need a few things
|
# need a few things
|
||||||
@@ -633,12 +633,12 @@ jobs:
|
|||||||
gcc --version
|
gcc --version
|
||||||
python3 --version
|
python3 --version
|
||||||
fusermount -V
|
fusermount -V
|
||||||
- uses: actions/checkout@v4.1.7
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
repository: littlefs-project/littlefs-fuse
|
repository: littlefs-project/littlefs-fuse
|
||||||
ref: v2
|
ref: v2
|
||||||
path: v2
|
path: v2
|
||||||
- uses: actions/checkout@v4.1.7
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
repository: littlefs-project/littlefs-fuse
|
repository: littlefs-project/littlefs-fuse
|
||||||
ref: v1
|
ref: v1
|
||||||
@@ -695,7 +695,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: [test, bench]
|
needs: [test, bench]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4.1.7
|
- uses: actions/checkout@v4
|
||||||
if: ${{github.event_name == 'pull_request'}}
|
if: ${{github.event_name == 'pull_request'}}
|
||||||
- name: install
|
- name: install
|
||||||
if: ${{github.event_name == 'pull_request'}}
|
if: ${{github.event_name == 'pull_request'}}
|
||||||
@@ -705,21 +705,21 @@ jobs:
|
|||||||
pip3 install toml
|
pip3 install toml
|
||||||
gcc --version
|
gcc --version
|
||||||
python3 --version
|
python3 --version
|
||||||
- uses: actions/download-artifact@v4.1.8
|
- uses: actions/download-artifact@v4
|
||||||
if: ${{github.event_name == 'pull_request'}}
|
if: ${{github.event_name == 'pull_request'}}
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
with:
|
with:
|
||||||
pattern: '{sizes,sizes-*}'
|
pattern: '{sizes,sizes-*}'
|
||||||
merge-multiple: true
|
merge-multiple: true
|
||||||
path: sizes
|
path: sizes
|
||||||
- uses: actions/download-artifact@v4.1.8
|
- uses: actions/download-artifact@v4
|
||||||
if: ${{github.event_name == 'pull_request'}}
|
if: ${{github.event_name == 'pull_request'}}
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
with:
|
with:
|
||||||
pattern: '{cov,cov-*}'
|
pattern: '{cov,cov-*}'
|
||||||
merge-multiple: true
|
merge-multiple: true
|
||||||
path: cov
|
path: cov
|
||||||
- uses: actions/download-artifact@v4.1.8
|
- uses: actions/download-artifact@v4
|
||||||
if: ${{github.event_name == 'pull_request'}}
|
if: ${{github.event_name == 'pull_request'}}
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
with:
|
with:
|
||||||
@@ -866,7 +866,7 @@ jobs:
|
|||||||
body: $comment,
|
body: $comment,
|
||||||
}' | tee comment/comment.json
|
}' | tee comment/comment.json
|
||||||
- name: upload-comment
|
- name: upload-comment
|
||||||
uses: actions/upload-artifact@v4.4.0
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: comment
|
name: comment
|
||||||
path: comment
|
path: comment
|
||||||
|
|||||||
Reference in New Issue
Block a user