Skip to content
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
2 changes: 1 addition & 1 deletion .github/workflows/app-static-analysis-reusable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:

steps:
- name: Checkout Source
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
path: source

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/build-cfs-multitarget.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:
cat /etc/os-release

- name: Checkout cFS with submodules
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
submodules: true
token: ${{ secrets.GH_PAT || github.token }}
Expand Down Expand Up @@ -111,7 +111,7 @@ jobs:
fi

- name: Upload all artifacts
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: ${{ inputs.config-name }}-bin
path: ./*.tar.${{ inputs.compression-type }}
Expand All @@ -122,4 +122,4 @@ jobs:

- name: Generate Coverage Report
if: ${{ inputs.check-coverage }}
run: make ${{ inputs.config-name }}.lcov
run: make ${{ inputs.config-name }}.lcov
6 changes: 3 additions & 3 deletions .github/workflows/build-doc-reusable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ jobs:
mv build/docs/${{ matrix.target }}/${{ matrix.target }}-warnings.log .

- name: Archive Document Build Logs
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: ${{ matrix.target }}_doc_build_logs
path: |
Expand Down Expand Up @@ -131,7 +131,7 @@ jobs:

- name: Archive PDF
if: ${{ inputs.buildpdf == true }}
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: ${{ matrix.target }}_pdf
path: ./deploy/${{ matrix.target }}.pdf
path: ./deploy/${{ matrix.target }}.pdf
6 changes: 3 additions & 3 deletions .github/workflows/build-run-app-reusable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ jobs:
done

- name: Upload all artifacts
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: ${{ inputs.app-name }}-bin
path: ./*.tar.xz
Expand All @@ -108,7 +108,7 @@ jobs:

steps:
- name: Download artifact
uses: actions/download-artifact@v4
uses: actions/download-artifact@v8
with:
name: ${{ inputs.app-name }}-bin
path: ${{ inputs.app-name }}-bin
Expand Down Expand Up @@ -160,7 +160,7 @@ jobs:

- name: Archive results
if: success() || failure()
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: cFS_startup_log
path: cFS_startup_cpu1.txt
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/cfs-wiki.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
steps:
# Checks out a copy of your repository on the ubuntu-latest machine
- name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
submodules: true

Expand All @@ -26,7 +26,7 @@ jobs:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Archive CCB agenda artifact
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: ccb-agenda
path: ./CCBAgenda.md
path: ./CCBAgenda.md
4 changes: 2 additions & 2 deletions .github/workflows/changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6

- name: Run Changelog
uses: heinrichreimer/github-changelog-generator-action@v2.1.1
Expand All @@ -32,7 +32,7 @@ jobs:
author: false

- name: "Upload changelog"
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: "Changelog"
path: CHANGELOG.md
2 changes: 1 addition & 1 deletion .github/workflows/codeql-reusable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -182,4 +182,4 @@ jobs:
inputs.component-path == 'osal-bundle' && format('{0}/osal', github.workspace) ||
(contains(inputs.component-path, 'apps') || contains(inputs.component-path, 'tools')) && format('{0}/{1}', github.workspace, inputs.component-path) ||
github.workspace
}}
}}
4 changes: 2 additions & 2 deletions .github/workflows/format-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
path: repo

Expand All @@ -60,7 +60,7 @@ jobs:
# Otherwise if there was a failure the file should be non-empty
- name: Archive difference artifacts
if: failure()
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: style_differences
path: style_differences.txt
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/mcdc-reusable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ jobs:
- name: Archive unit test results
# Archive unit test results if tests ran, even if step failed
if: ${{ env.TESTS_RAN == 'true' }}
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: Unit test results
path: |
Expand All @@ -120,7 +120,7 @@ jobs:
- name: Archive MCDC results
# Archive MCDC results if tests ran, even if step failed
if: success() || failure()
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: MCDC results
path: |
Expand All @@ -137,7 +137,7 @@ jobs:

steps:
- name: Checkout MCDC Script
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
repository: nasa/cFS
path: workflows
Expand All @@ -155,7 +155,7 @@ jobs:
path: ./main-branch-results

- name: Downloads PR artifacts
uses: actions/download-artifact@v4
uses: actions/download-artifact@v8
with:
name: MCDC results

Expand Down Expand Up @@ -201,9 +201,9 @@ jobs:
- name: Archive mcdc comparison
# Upload if success or failure which supports skipping, unlike always()
if: success() || failure()
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: MCDC main branch comparison
path: |
mcdc_comment.txt
mcdc_compare.txt
mcdc_compare.txt
6 changes: 3 additions & 3 deletions .github/workflows/test-cfs-qemu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
container: ghcr.io/core-flight-system/cfsbuildenv-doxygen:latest
steps:
- name: Checkout Bundle
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
submodules: true

Expand Down Expand Up @@ -155,7 +155,7 @@ jobs:
# echo "${{ secrets.GITHUB_TOKEN }}" | gh auth login --with-token
# gh run download 58922 -p ${{ matrix.config }}-bin
# ls -lR .
uses: actions/download-artifact@v4
uses: actions/download-artifact@v8
with:
name: ${{ matrix.config }}-bin
path: ${{ matrix.config }}-bin
Expand Down Expand Up @@ -207,4 +207,4 @@ jobs:
if: always()
uses: nasa/cFS/actions/stop-cfs-container@dev
with:
container-id: ${{ steps.start-cpu1.outputs.container-id }}
container-id: ${{ steps.start-cpu1.outputs.container-id }}
10 changes: 5 additions & 5 deletions .github/workflows/unit-test-coverage-reusable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ jobs:
echo "APP_DEP_LOWER=$(echo ${APP_DEP##*/} | sed 's/[A-Z]/\L&/g')" >> $GITHUB_ENV

- name: Checkout CFE
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
repository: nasa/cFE
path: cfe
Expand All @@ -79,13 +79,13 @@ jobs:
org: nasa

- name: Checkout Repo
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
path: apps/${{ env.APP_LOWER }}

- name: Checkout Dependency
if: ${{ inputs.dependency != '' }}
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
repository: ${{ inputs.dependency }}
path: apps/${{ inputs.dependency }}
Expand Down Expand Up @@ -148,10 +148,10 @@ jobs:
- name: Archive results
# Upload if success or failure which supports skipping, unlike always()
if: success() || failure()
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: Unit test and coverage results
path: |
test_results.txt
lcov_out.txt
lcov
lcov
2 changes: 1 addition & 1 deletion .github/workflows/update-bundle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:

steps:
- name: Checkout bundle
uses: actions/checkout@v5
uses: actions/checkout@v6
with:
repository: ${{ github.repository }}
submodules: true
Expand Down
4 changes: 2 additions & 2 deletions actions/cppcheck/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,11 @@ runs:
run: xsltproc cppcheck-xml2text.xslt cppcheck_err.xml | tee $GITHUB_STEP_SUMMARY cppcheck_err.txt

- name: Archive static analysis artifacts
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: cppcheck-errors
path: ./*cppcheck_err.*

- name: Check for reported errors
shell: bash
run: tail -n 1 cppcheck_err.txt | grep -q '^\*\*0 error(s) reported\*\*$'
run: tail -n 1 cppcheck_err.txt | grep -q '^\*\*0 error(s) reported\*\*$'
8 changes: 4 additions & 4 deletions actions/setup-app/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ runs:
echo "APP_DEP_LOWER=$(echo ${APP_DEP##*/} | sed 's/[A-Z]/\L&/g')" >> $GITHUB_ENV

- name: Checkout cFE
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
repository: nasa/cFE
path: ./cfe
Expand All @@ -47,15 +47,15 @@ runs:

- name: Checkout Dependency
if: ${{ inputs.dependency != '' }}
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
repository: ${{ inputs.dependency }}
path: ./apps/${{ inputs.dependency }}
ref: dev

- name: Checkout App Repo
if: inputs.app-name != 'cFS' && inputs.app-name != 'cFE'
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
path: ./apps/${{ env.APP_LOWER }}

Expand Down Expand Up @@ -84,4 +84,4 @@ runs:
run: |
mkdir -p $GITHUB_WORKSPACE/build
echo DESTDIR=$GITHUB_WORKSPACE/build >> $GITHUB_ENV
cd $GITHUB_WORKSPACE/build && cmake ${{ inputs.cmake-options }} "$GITHUB_WORKSPACE/cfe"
cd $GITHUB_WORKSPACE/build && cmake ${{ inputs.cmake-options }} "$GITHUB_WORKSPACE/cfe"
Loading