[PATCH 1/2] ci: bump action versions
Ahmad Fatoum
a.fatoum at pengutronix.de
Tue Jul 16 23:19:40 PDT 2024
Github Actions run log warnings about some of our actions being
deprecated, because they use outdated node.js versions.
For actions/checkout we just need to bump the version.
actions/upload-artifact at v4 now refuses identically named artifacts,
so we fix this by factoring in the name of the defconfig.
Signed-off-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
---
.github/workflows/build-defconfigs.yml | 2 +-
.github/workflows/container.yml | 2 +-
.github/workflows/test-labgrid-pytest.yml | 6 +++---
3 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/.github/workflows/build-defconfigs.yml b/.github/workflows/build-defconfigs.yml
index 6690b9db25b8..46f59fd118c1 100644
--- a/.github/workflows/build-defconfigs.yml
+++ b/.github/workflows/build-defconfigs.yml
@@ -31,7 +31,7 @@ jobs:
steps:
- name: Checkout code
- uses: actions/checkout at v3
+ uses: actions/checkout at v4
- name: Build
run: |
diff --git a/.github/workflows/container.yml b/.github/workflows/container.yml
index 7a9b2fe74d57..9bb23a5836ac 100644
--- a/.github/workflows/container.yml
+++ b/.github/workflows/container.yml
@@ -13,7 +13,7 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout at v3
+ - uses: actions/checkout at v4
- id: build-image
uses: redhat-actions/buildah-build at v2
with:
diff --git a/.github/workflows/test-labgrid-pytest.yml b/.github/workflows/test-labgrid-pytest.yml
index 21d189880941..42a796a157e1 100644
--- a/.github/workflows/test-labgrid-pytest.yml
+++ b/.github/workflows/test-labgrid-pytest.yml
@@ -49,7 +49,7 @@ jobs:
steps:
- name: Checkout code
- uses: actions/checkout at v3
+ uses: actions/checkout at v4
- name: Build
run: |
@@ -83,9 +83,9 @@ jobs:
files: ./*.tests.xml
- name: Publish Labgrid Log Results
- uses: actions/upload-artifact at v3
+ uses: actions/upload-artifact at v4
if: always()
with:
- name: Console Logs
+ name: console-log-${{matrix.defconfig}}
path: log/
if-no-files-found: error
--
2.39.2
More information about the barebox
mailing list