Skip to content

Commit

Permalink
Update submodule usage in workflwos
Browse files Browse the repository at this point in the history
  • Loading branch information
thomas-bc committed Nov 20, 2023
1 parent 8245a57 commit be3f3b6
Show file tree
Hide file tree
Showing 8 changed files with 19 additions and 13 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/build-test-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,10 @@ jobs:
runs-on: macos-latest
steps:
- name: "Checkout F´ Repository"
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: true
- uses: ./.github/actions/setup
- name: F prime CI step
run: ./ci/tests/Framework.bash
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/build-test-rpi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: "Checkout F´ Repository"
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: true
- uses: ./.github/actions/setup
- name: Setup RPI Toolchain
uses: fprime-community/setup-rpi-sysroot@main
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: "Checkout F´ Repository"
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: true
- uses: ./.github/actions/setup
- name: F prime CI step
run: ./ci/tests/Framework.bash
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/cppcheck-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,10 @@ jobs:

steps:
- name: "Checkout F´ Repository"
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: true
- uses: ./.github/actions/setup

- name: Install cppcheck
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/cpplint-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,10 @@ jobs:

steps:
- name: "Checkout F´ Repository"
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: true
- uses: ./.github/actions/setup

- name: Install cpplint
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/ext-raspberry-led-blinker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,15 @@ jobs:
needs: get-branch
steps:
- name: "Checkout target repository"
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: recursive
submodules: false
repository: fprime-community/fprime-workshop-led-blinker
ref: ${{ needs.get-branch.outputs.target-branch }}
- name: "Overlay current F´ revision"
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: recursive
submodules: true
path: ./fprime
fetch-depth: 0
- uses: ./fprime/.github/actions/setup
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/fpp-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ jobs:
uses: actions/checkout@v3
with:
fetch-depth: 0
submodules: true
- name: "Install requirements.txt"
run: |
pip3 install -r ./requirements.txt
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/reusable-project-builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,13 @@ jobs:
- name: "Checkout target repository"
uses: actions/checkout@v3
with:
submodules: recursive
submodules: false
repository: ${{ inputs.target_repository }}
ref: ${{ inputs.target_ref }}
- name: "Overlay current F´ revision"
uses: actions/checkout@v3
with:
submodules: recursive
submodules: true
path: ${{ inputs.fprime_location }}
- name: "Install requirements.txt"
run: |
Expand All @@ -80,13 +80,13 @@ jobs:
- name: "Checkout target repository"
uses: actions/checkout@v3
with:
submodules: recursive
submodules: false
repository: ${{ inputs.target_repository }}
ref: ${{ inputs.target_ref }}
- name: "Overlay current F´ revision"
uses: actions/checkout@v3
with:
submodules: recursive
submodules: true
path: ${{ inputs.fprime_location }}
- name: "Install requirements.txt"
run: |
Expand Down

0 comments on commit be3f3b6

Please sign in to comment.