Skip to content

Commit

Permalink
ci: use submodules:true instead of recursive
Browse files Browse the repository at this point in the history
  • Loading branch information
mroz22 committed Apr 25, 2024
1 parent 9bd73e9 commit 3590071
Show file tree
Hide file tree
Showing 11 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/blockchain-link-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
submodules: true
- name: Setup node
uses: actions/setup-node@v4
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-desktop-apps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
uses: actions/checkout@v4
with:
lfs: true
submodules: recursive
submodules: true
- name: Install node and yarn
uses: actions/setup-node@v4
with:
Expand Down Expand Up @@ -99,7 +99,7 @@ jobs:
uses: actions/checkout@v4
with:
lfs: true
submodules: recursive
submodules: true
- name: Install node and yarn
uses: actions/setup-node@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/connect-nextra-dev-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: recursive
submodules: true

# Pull only files needed for connect to save LFS bandwidth
- name: "Pull LFS files for connect"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/connect-pre-release-init.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
with:
# Number of commits to fetch. 0 indicates all history for all branches and tags.
fetch-depth: 0
submodules: recursive
submodules: true

- name: Setup node
uses: actions/setup-node@v4
Expand All @@ -35,7 +35,7 @@ jobs:
run: yarn install

- name: Build dependencies
# Running `build:libs` requires action to checkout with `submodules: recursive`.
# Running `build:libs` requires action to checkout with `submodules: true`.
run: yarn build:libs

- name: Run @trezor/connect create npm release branch
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/connect-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
submodules: true
- name: Setup node
uses: actions/setup-node@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/connect-transport-e2e-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: recursive
submodules: true

- name: Setup node
uses: actions/setup-node@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/connect-web-e2e-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: recursive
submodules: true

- name: Setup node
uses: actions/setup-node@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/template-connect-build-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: recursive
submodules: true

# Pull only files needed for connect to save LFS bandwidth
- name: "Pull LFS files for connect"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/template-connect-popup-test-params.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
submodules: true

- name: Extract branch name
run: echo "branch=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}" >> $GITHUB_OUTPUT
Expand Down Expand Up @@ -86,7 +86,7 @@ jobs:
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
submodules: true

- name: Extract branch name
run: echo "branch=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}" >> $GITHUB_OUTPUT
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/template-connect-test-params.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
submodules: true
- name: Setup node
uses: actions/setup-node@v4
with:
Expand All @@ -62,7 +62,7 @@ jobs:
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
submodules: true
- name: Setup node
uses: actions/setup-node@v4
with:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: recursive
submodules: true
- name: "Checkout branches for Nx"
uses: ./.github/actions/nx-checkout
- name: "Minimal yarn install"
Expand Down Expand Up @@ -82,7 +82,7 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: recursive
submodules: true
- name: "Checkout branches for Nx"
uses: ./.github/actions/nx-checkout
- name: "Minimal yarn install"
Expand All @@ -98,7 +98,7 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: recursive
submodules: true
- name: "Checkout branches for Nx"
uses: ./.github/actions/nx-checkout
- name: "Minimal yarn install"
Expand Down

0 comments on commit 3590071

Please sign in to comment.