Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade GitHub Actions ahead of NodeJS deprecation #2890

Merged
merged 1 commit into from
Sep 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/build-test-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
JOBS: 2
# Archive the outputs
- name: 'Archive Logs'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: always()
with:
name: ci-framework-logs
Expand All @@ -58,7 +58,7 @@ jobs:
JOBS: 2
# Archive the outputs
- name: 'Archive Logs'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: always()
with:
name: ci-ref-logs
Expand All @@ -83,7 +83,7 @@ jobs:
JOBS: 2
# Archive the outputs
- name: 'Archive Logs'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: always()
with:
name: ci-int-logs
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/build-test-rpi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,14 @@ jobs:
run: mkdir -p artifact/RPI; cp -rp RPI/test RPI/build-artifacts artifact/RPI; cp -rp ci artifact
# Build Artifacts
- name: 'RPI Build Output'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: rpi-build
path: artifact
retention-days: 5
# Archive the outputs
- name: 'Archive Logs'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: always()
with:
name: rpi-logs
Expand All @@ -64,7 +64,7 @@ jobs:
. venv/bin/activate
pip install -r requirements.txt
- name: RPI Build Download
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: rpi-build
- name: RPI Integration Tests
Expand All @@ -74,7 +74,7 @@ jobs:
/bin/bash ci/tests/RPI-Ints.bash
# Archive the outputs
- name: 'Archive Logs'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: always()
with:
name: pi-int-logs
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
run: ./ci/tests/Framework.bash
# Archive the outputs
- name: 'Archive Logs'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: always()
with:
name: ci-framework-logs
Expand All @@ -51,7 +51,7 @@ jobs:
run: ./ci/tests/Ref.bash
# Archive the outputs
- name: 'Archive Logs'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: always()
with:
name: ci-ref-logs
Expand All @@ -75,7 +75,7 @@ jobs:
run: ./ci/tests/30-ints.bash
# Archive the outputs
- name: 'Archive Logs'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: always()
with:
name: ci-int-logs
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/codeql-jpl-standard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
# Run jobs in parallel for each config-file
Expand All @@ -52,4 +52,4 @@ jobs:
fprime-util build --all

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
uses: github/codeql-action/analyze@v3
6 changes: 3 additions & 3 deletions .github/workflows/codeql-security-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
config-file: ./.github/actions/codeql/security-pack.yml
Expand All @@ -50,6 +50,6 @@ jobs:
fprime-util generate
fprime-util build --all
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
uses: github/codeql-action/analyze@v3
with:
category: "/language:${{matrix.language}}"
4 changes: 2 additions & 2 deletions .github/workflows/cppcheck-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,13 @@ jobs:
run: xsltproc .github/scripts/cppcheck-xml2text.xslt cppcheck_err.xml | tee $GITHUB_STEP_SUMMARY cppcheck_err.txt

- name: Upload SARIF file to GitHub Code Scanning Alerts
uses: github/codeql-action/upload-sarif@v2
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: ${{ github.workspace }}/cppcheck_err.sarif
category: "cppcheck"

- name: Archive static analysis artifacts to download and view
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: cppcheck-errors
path: ./*cppcheck_err.*
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/cpplint-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,13 @@ jobs:
sed -i -e 's/\"name\": \"CppCheck\"/\"name\": \"CppLint\"/g' cpplint_cppcheck_result.sarif

- name: Upload SARIF file to GitHub Code Scanning Alerts
uses: github/codeql-action/upload-sarif@v2
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: ${{ github.workspace }}/cpplint_cppcheck_result.sarif
category: "cpplint"

- name: Archive static analysis artifacts to download and view
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: cpplint-errors
path: ./*cpplint_cppcheck_result.*
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/ext-raspberry-led-blinker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
cp -r ./build-artifacts rpi-artifacts
cp -r Components/Led/test/int rpi-artifacts
- name: 'Archive Build Artifacts'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: rpi-artifacts
path: rpi-artifacts
Expand All @@ -80,7 +80,7 @@ jobs:
. venv/bin/activate
pip install -r requirements.txt
- name: "Artifacts Download"
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: rpi-artifacts
- name: Run Integration Tests
Expand All @@ -92,7 +92,7 @@ jobs:
sleep 10
pytest --dictionary ./build-artifacts/raspberrypi/LedBlinker/dict/LedBlinkerTopologyDictionary.json ./int/led_integration_tests.py
- name: 'Archive logs'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: always()
with:
name: rpi-logs
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/fpp-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
fprime-util check
shell: bash
- name: "Archive Logs"
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: always()
with:
name: FppTest-Logs
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/python-format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ jobs:
name: Format
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Setup Python 3.8
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: 3.8
- name: Check formatting
Expand Down
Loading