Skip to content

Commit

Permalink
WIP: Fix submodules?
Browse files Browse the repository at this point in the history
  • Loading branch information
strseb committed Nov 17, 2022
1 parent 60e95ce commit 996e2f0
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 36 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/linters.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,8 @@ jobs:
- name: Clone repository
uses: actions/checkout@v3

- name: Checkout submodules
shell: bash
run: |
auth_header="$(git config --local --get http.https://github.com/.extraheader)"
git submodule sync --recursive
git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive --depth=1
with:
submodules: 'true'

- name: Set up Python 3
uses: actions/setup-python@v3
Expand Down
28 changes: 6 additions & 22 deletions .github/workflows/test_unit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ jobs:
steps:
- name: Clone repository
uses: actions/checkout@v3
with:
submodules: 'true'

- name: Install dependences
run: |
Expand All @@ -32,13 +34,6 @@ jobs:
python3 -m pip install aqtinstall
aqt install-qt --outputdir /opt linux desktop $QTVERSION gcc_64 -m all
- name: Checkout submodules
shell: bash
run: |
auth_header="$(git config --local --get http.https://github.com/.extraheader)"
git submodule sync --recursive
git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive --depth=1
- name: Cache grcov
id: cache-grcov
uses: actions/cache@v3
Expand Down Expand Up @@ -96,14 +91,8 @@ jobs:
steps:
- name: Clone repository
uses: actions/checkout@v3

- name: Checkout submodules
shell: bash
run: |
auth_header="$(git config --local --get http.https://github.com/.extraheader)"
git submodule sync --recursive
git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive --depth=1
with:
submodules: 'true'
- name: Install python dependencies
shell: bash
run: |
Expand Down Expand Up @@ -177,13 +166,8 @@ jobs:
steps:
- name: Clone repository
uses: actions/checkout@v3

- name: Checkout submodules
shell: bash
run: |
auth_header="$(git config --local --get http.https://github.com/.extraheader)"
git submodule sync --recursive
git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive --depth=1
with:
submodules: 'true'

- name: Install Qt
shell: bash
Expand Down
9 changes: 2 additions & 7 deletions .github/workflows/wasm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,8 @@ jobs:
steps:
- name: Clone repository
uses: actions/checkout@v3

- name: Checkout submodules
shell: bash
run: |
auth_header="$(git config --local --get http.https://github.com/.extraheader)"
git submodule sync --recursive
git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive --depth=1
with:
submodules: 'true'

- name: Install Qt
shell: bash
Expand Down

0 comments on commit 996e2f0

Please sign in to comment.