diff --git a/.github/workflows/build-cfs-deprecated.yml b/.github/workflows/build-cfs-deprecated.yml index 04a927ee8..8991cc4b9 100644 --- a/.github/workflows/build-cfs-deprecated.yml +++ b/.github/workflows/build-cfs-deprecated.yml @@ -50,14 +50,14 @@ jobs: steps: - name: Cache Source and Build id: cache-src-bld - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: /home/runner/work/${{ env.REPO_NAME }}/${{ env.REPO_NAME }}/* key: deprecated-build-${{ github.run_number }}-${{ matrix.buildtype }} - name: Checkout cFS if: steps.cache-src-bld.outputs.cache-hit != 'true' - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: submodules: true @@ -96,7 +96,7 @@ jobs: - name: Cache Source and Deprecated Build id: cache-src-bld - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: /home/runner/work/${{ env.REPO_NAME }}/${{ env.REPO_NAME }}/* key: deprecated-build-${{ github.run_number }}-${{ matrix.buildtype }} @@ -124,7 +124,7 @@ jobs: steps: - name: Cache Source and Deprecated Build id: cache-src-bld - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: /home/runner/work/${{ env.REPO_NAME }}/${{ env.REPO_NAME }}/* key: deprecated-build-${{ github.run_number }}-${{ matrix.buildtype }} @@ -141,7 +141,7 @@ jobs: working-directory: ./build/exe/cpu1/ - name: Archive cFS Startup Artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: cFS-startup-log-omit-deprecate-false${{ matrix.buildtype }} path: ./build/exe/cpu1/cFS_startup_cpu1.txt @@ -171,7 +171,7 @@ jobs: steps: - name: Cache Source and Deprecated Build id: cache-src-bld - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: /home/runner/work/${{ env.REPO_NAME }}/${{ env.REPO_NAME }}/* key: deprecated-build-${{ github.run_number }}-${{ matrix.buildtype }} @@ -205,7 +205,7 @@ jobs: working-directory: ./build/exe/cpu1/ - name: Archive Functional Test Artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: cFS-functional-test-log-omit-deprecate-false-${{ matrix.buildtype }} path: ./build/exe/cpu1/cf/cfe_test.log diff --git a/.github/workflows/build-documentation.yml b/.github/workflows/build-documentation.yml index e0373cc24..5cbfd04b6 100644 --- a/.github/workflows/build-documentation.yml +++ b/.github/workflows/build-documentation.yml @@ -33,13 +33,13 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: submodules: true - name: Cache Source and Build id: cache-src-bld - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: /home/runner/work/${{ github.event.repository.name }}/${{ github.event.repository.name }}/* key: cfs-doc-${{ github.run_number }} @@ -60,7 +60,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/download-artifact@v3 diff --git a/.github/workflows/codeql-reusable.yml b/.github/workflows/codeql-reusable.yml index 3139da9c4..e4ead4b30 100644 --- a/.github/workflows/codeql-reusable.yml +++ b/.github/workflows/codeql-reusable.yml @@ -116,7 +116,7 @@ jobs: working-directory: ${{env.BUILD_DIRECTORY}} - name: Initialize CodeQL - uses: github/codeql-action/init@v2 + uses: github/codeql-action/init@v3 with: languages: cpp config-file: nasa/cFS/.github/codeql/codeql-${{matrix.scan-type}}.yml@main @@ -126,7 +126,7 @@ jobs: working-directory: ${{env.BUILD_DIRECTORY}} - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v2 + uses: github/codeql-action/analyze@v3 with: add-snippets: true category: ${{matrix.scan-type}} @@ -155,6 +155,6 @@ jobs: path: CodeQL-Sarif-${{ matrix.scan-type }} - name: Upload SARIF - uses: github/codeql-action/upload-sarif@v2 + uses: github/codeql-action/upload-sarif@v3 with: sarif_file: CodeQL-Sarif-${{ matrix.scan-type }}/Codeql-${{ matrix.scan-type }}.sarif diff --git a/.github/workflows/static-analysis-misra.yml b/.github/workflows/static-analysis-misra.yml index 1344cfaeb..ea185ea58 100644 --- a/.github/workflows/static-analysis-misra.yml +++ b/.github/workflows/static-analysis-misra.yml @@ -117,7 +117,7 @@ jobs: path: ./${{matrix.cppcheck}}/*cppcheck_err.* - name: Upload sarif results - uses: github/codeql-action/upload-sarif@v2 + uses: github/codeql-action/upload-sarif@v3 with: sarif_file: '${{matrix.cppcheck}}_cppcheck_err.sarif' checkout_path: ${{ env.CONTAINER_WORKSPACE }} diff --git a/.github/workflows/static-analysis.yml b/.github/workflows/static-analysis.yml index 2afa05d6b..1470c83b1 100644 --- a/.github/workflows/static-analysis.yml +++ b/.github/workflows/static-analysis.yml @@ -104,7 +104,7 @@ jobs: run: xsltproc cppcheck-xml2text.xslt cppcheck_err.xml | tee $GITHUB_STEP_SUMMARY cppcheck_err.txt - name: Upload SARIF results - uses: github/codeql-action/upload-sarif@v2 + uses: github/codeql-action/upload-sarif@v3 with: sarif_file: ${{ github.workspace }}/cppcheck_err.sarif checkout_path: ${{ github.workspace }}/source