Skip to content

Commit

Permalink
.github: Upgraded CI actions.
Browse files Browse the repository at this point in the history
  • Loading branch information
MikhailKrichanov committed Feb 27, 2025
1 parent 29fd5e1 commit 38ec925
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/build_uncrustify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
env:
JOB_TYPE: BUILD
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Install Dependencies
run: |
Expand All @@ -36,7 +36,7 @@ jobs:
echo "UNC_SHA=$(cat unc-sha.txt)" >> $GITHUB_ENV
- name: Upload to Artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: Uncrustify-Darwin-${{ env.UNC_SHA }}
path: ./uncstrap/uncrustify
Expand All @@ -46,7 +46,7 @@ jobs:
name: Linux
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Install Dependencies
run: |
Expand All @@ -64,7 +64,7 @@ jobs:
echo "UNC_SHA=$(cat unc-sha.txt)" >> $GITHUB_ENV
- name: Upload to Artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: Uncrustify-Linux-${{ env.UNC_SHA }}
path: ./uncstrap/uncrustify
Expand All @@ -77,7 +77,7 @@ jobs:
run:
shell: bash
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Install Dependencies
run: |
Expand All @@ -94,7 +94,7 @@ jobs:
echo "UNC_SHA=$(cat unc-sha.txt)" >> $GITHUB_ENV
- name: Upload to Artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: Uncrustify-Windows-${{ env.UNC_SHA }}
path: ./uncstrap/uncrustify.exe
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
env:
JOB_TYPE: ANALYZE
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Install Dependencies
run: |
Expand All @@ -31,7 +31,7 @@ jobs:
env:
JOB_TYPE: ANALYZE
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Install Dependencies
run: |
Expand All @@ -45,7 +45,7 @@ jobs:
python3 -m prospector . -P ./prospector/profile.yml > prospector_result.txt || exit 1
- name: Upload prospector result to Artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: failure()
with:
name: Prospector Artifacts
Expand Down

0 comments on commit 38ec925

Please sign in to comment.