Skip to content

Enable one level of git submodules for soundness checks #44

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

Merged
merged 1 commit into from
Oct 24, 2024
Merged
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
9 changes: 9 additions & 0 deletions .github/workflows/soundness.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ jobs:
uses: actions/checkout@v4
with:
persist-credentials: false
submodules: true
- name: Mark the workspace as safe
# https://github.com/actions/checkout/issues/766
run: git config --global --add safe.directory ${GITHUB_WORKSPACE}
Expand All @@ -102,6 +103,7 @@ jobs:
uses: actions/checkout@v4
with:
persist-credentials: false
submodules: true
- name: Run documentation check
run: |
apt-get -qq update && apt-get -qq -y install curl yq
Expand All @@ -117,6 +119,7 @@ jobs:
uses: actions/checkout@v4
with:
persist-credentials: false
submodules: true
- name: Run unacceptable language check
env:
UNACCEPTABLE_WORD_LIST: ${{ inputs.unacceptable_language_check_word_list}}
Expand All @@ -132,6 +135,7 @@ jobs:
uses: actions/checkout@v4
with:
persist-credentials: false
submodules: true
- name: Run license header check
env:
PROJECT_NAME: ${{ inputs.license_header_check_project_name }}
Expand All @@ -147,6 +151,7 @@ jobs:
uses: actions/checkout@v4
with:
persist-credentials: false
submodules: true
- name: Run broken symlinks check
run: curl -s https://raw.githubusercontent.com/swiftlang/github-workflows/refs/heads/main/.github/workflows/scripts/check-broken-symlinks.sh | bash

Expand All @@ -162,6 +167,7 @@ jobs:
uses: actions/checkout@v4
with:
persist-credentials: false
submodules: true
- name: Mark the workspace as safe
# https://github.com/actions/checkout/issues/766
run: git config --global --add safe.directory ${GITHUB_WORKSPACE}
Expand All @@ -182,6 +188,7 @@ jobs:
uses: actions/checkout@v4
with:
persist-credentials: false
submodules: true
- name: Mark the workspace as safe
# https://github.com/actions/checkout/issues/766
run: git config --global --add safe.directory ${GITHUB_WORKSPACE}
Expand All @@ -200,6 +207,7 @@ jobs:
uses: actions/checkout@v4
with:
persist-credentials: false
submodules: true
- name: Run yamllint
run: |
which yamllint >/dev/null || ( apt-get update && apt-get install -y yamllint )
Expand All @@ -215,6 +223,7 @@ jobs:
uses: actions/checkout@v4
with:
persist-credentials: false
submodules: true
- name: Run flake8
run: |
pip3 install flake8 flake8-import-order
Expand Down