Skip to content

Commit

Permalink
Update github actions
Browse files Browse the repository at this point in the history
Signed-off-by: William Douglas <[email protected]>
  • Loading branch information
bryteise authored and bwarden committed Oct 17, 2024
1 parent 0e3d6b2 commit abea281
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 38 deletions.
74 changes: 37 additions & 37 deletions .github/workflows/ccpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
name: Formatting Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Run clang-format style check
uses: jidicula/[email protected]
with:
Expand All @@ -21,7 +21,7 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: cache-dependencies
id: cache-swupd-deps
Expand Down Expand Up @@ -56,7 +56,7 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0

Expand All @@ -72,7 +72,7 @@ jobs:
env:
JOB_NUMBER: 1
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: cache-dependencies
id: cache-swupd-deps
Expand All @@ -89,7 +89,7 @@ jobs:
- name: run check
run: scripts/github_actions/run_check.bash "$JOB_NUMBER" "$NUM_JOBS"

- uses: actions/upload-artifact@v1
- uses: actions/upload-artifact@v4
with:
name: job-${{ env.JOB_NUMBER }}
path: job-${{ env.JOB_NUMBER }}
Expand All @@ -104,7 +104,7 @@ jobs:
env:
JOB_NUMBER: 2
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: cache-dependencies
id: cache-swupd-deps
Expand All @@ -121,7 +121,7 @@ jobs:
- name: run check
run: scripts/github_actions/run_check.bash "$JOB_NUMBER" "$NUM_JOBS"

- uses: actions/upload-artifact@v1
- uses: actions/upload-artifact@v4
with:
name: job-${{ env.JOB_NUMBER }}
path: job-${{ env.JOB_NUMBER }}
Expand All @@ -136,7 +136,7 @@ jobs:
env:
JOB_NUMBER: 3
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: cache-dependencies
id: cache-swupd-deps
Expand All @@ -153,7 +153,7 @@ jobs:
- name: run check
run: scripts/github_actions/run_check.bash "$JOB_NUMBER" "$NUM_JOBS"

- uses: actions/upload-artifact@v1
- uses: actions/upload-artifact@v4
with:
name: job-${{ env.JOB_NUMBER }}
path: job-${{ env.JOB_NUMBER }}
Expand All @@ -168,7 +168,7 @@ jobs:
env:
JOB_NUMBER: 4
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4

- name: cache-dependencies
id: cache-swupd-deps
Expand All @@ -185,7 +185,7 @@ jobs:
- name: run check
run: scripts/github_actions/run_check.bash "$JOB_NUMBER" "$NUM_JOBS"

- uses: actions/upload-artifact@v1
- uses: actions/upload-artifact@v4
with:
name: job-${{ env.JOB_NUMBER }}
path: job-${{ env.JOB_NUMBER }}
Expand All @@ -200,7 +200,7 @@ jobs:
env:
JOB_NUMBER: 5
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: cache-dependencies
id: cache-swupd-deps
Expand All @@ -217,7 +217,7 @@ jobs:
- name: run check
run: scripts/github_actions/run_check.bash "$JOB_NUMBER" "$NUM_JOBS"

- uses: actions/upload-artifact@v1
- uses: actions/upload-artifact@v4
with:
name: job-${{ env.JOB_NUMBER }}
path: job-${{ env.JOB_NUMBER }}
Expand All @@ -232,7 +232,7 @@ jobs:
env:
JOB_NUMBER: 6
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: cache-dependencies
id: cache-swupd-deps
Expand All @@ -249,7 +249,7 @@ jobs:
- name: run check
run: scripts/github_actions/run_check.bash "$JOB_NUMBER" "$NUM_JOBS"

- uses: actions/upload-artifact@v1
- uses: actions/upload-artifact@v4
with:
name: job-${{ env.JOB_NUMBER }}
path: job-${{ env.JOB_NUMBER }}
Expand All @@ -264,7 +264,7 @@ jobs:
env:
JOB_NUMBER: 7
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: cache-dependencies
id: cache-swupd-deps
Expand All @@ -281,7 +281,7 @@ jobs:
- name: run check
run: scripts/github_actions/run_check.bash "$JOB_NUMBER" "$NUM_JOBS"

- uses: actions/upload-artifact@v1
- uses: actions/upload-artifact@v4
with:
name: job-${{ env.JOB_NUMBER }}
path: job-${{ env.JOB_NUMBER }}
Expand All @@ -296,7 +296,7 @@ jobs:
env:
JOB_NUMBER: 8
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: cache-dependencies
id: cache-swupd-deps
Expand All @@ -313,7 +313,7 @@ jobs:
- name: run check
run: scripts/github_actions/run_check.bash "$JOB_NUMBER" "$NUM_JOBS"

- uses: actions/upload-artifact@v1
- uses: actions/upload-artifact@v4
with:
name: job-${{ env.JOB_NUMBER }}
path: job-${{ env.JOB_NUMBER }}
Expand All @@ -328,7 +328,7 @@ jobs:
env:
JOB_NUMBER: 9
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: cache-dependencies
id: cache-swupd-deps
Expand All @@ -345,7 +345,7 @@ jobs:
- name: run check
run: scripts/github_actions/run_check.bash "$JOB_NUMBER" "$NUM_JOBS"

- uses: actions/upload-artifact@v1
- uses: actions/upload-artifact@v4
with:
name: job-${{ env.JOB_NUMBER }}
path: job-${{ env.JOB_NUMBER }}
Expand All @@ -360,7 +360,7 @@ jobs:
env:
JOB_NUMBER: 10
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: cache-dependencies
id: cache-swupd-deps
Expand All @@ -377,7 +377,7 @@ jobs:
- name: run check
run: scripts/github_actions/run_check.bash "$JOB_NUMBER" "$NUM_JOBS"

- uses: actions/upload-artifact@v1
- uses: actions/upload-artifact@v4
with:
name: job-${{ env.JOB_NUMBER }}
path: job-${{ env.JOB_NUMBER }}
Expand All @@ -390,7 +390,7 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: cache-dependencies
id: cache-swupd-deps
Expand All @@ -417,7 +417,7 @@ jobs:
env TESTS="$(echo $FILES)" make -e -j1 check
echo "$FILES" >> job-only-ci
- uses: actions/upload-artifact@v1
- uses: actions/upload-artifact@v4
with:
name: job-only-ci
path: job-only-ci
Expand All @@ -430,59 +430,59 @@ jobs:
runs-on: ubuntu-latest
needs: [unit_and_style, api, test_job1, test_job2, test_job3, test_job4, test_job5, test_job6, test_job7, test_job8, test_job9, test_job10, test_only_ci]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: actions/download-artifact@v1
- uses: actions/download-artifact@v4
with:
name: job-1
path: jobs/

- uses: actions/download-artifact@v1
- uses: actions/download-artifact@v4
with:
name: job-2
path: jobs/

- uses: actions/download-artifact@v1
- uses: actions/download-artifact@v4
with:
name: job-3
path: jobs/

- uses: actions/download-artifact@v1
- uses: actions/download-artifact@v4
with:
name: job-4
path: jobs/

- uses: actions/download-artifact@v1
- uses: actions/download-artifact@v4
with:
name: job-5
path: jobs/

- uses: actions/download-artifact@v1
- uses: actions/download-artifact@v4
with:
name: job-6
path: jobs/

- uses: actions/download-artifact@v1
- uses: actions/download-artifact@v4
with:
name: job-7
path: jobs/

- uses: actions/download-artifact@v1
- uses: actions/download-artifact@v4
with:
name: job-8
path: jobs/

- uses: actions/download-artifact@v1
- uses: actions/download-artifact@v4
with:
name: job-9
path: jobs/

- uses: actions/download-artifact@v1
- uses: actions/download-artifact@v4
with:
name: job-10
path: jobs/

- uses: actions/download-artifact@v1
- uses: actions/download-artifact@v4
with:
name: job-only-ci
path: jobs/
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/shellcheck-all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 120
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: build_dependencies
run: sudo apt-get install bats
Expand Down

0 comments on commit abea281

Please sign in to comment.