Skip to content

Commit f4b704d

Browse files
committed
checkout submodules in gh actions
1 parent f7232f1 commit f4b704d

4 files changed

Lines changed: 20 additions & 11 deletions

File tree

.github/workflows/ci.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ jobs:
4242
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
4343
with:
4444
persist-credentials: false
45+
submodules: true
4546

4647
- uses: oxc-project/setup-rust@d286d43bc1f606abbd98096666ff8be68c8d5f57 # v1.0.0
4748
with:
@@ -61,6 +62,7 @@ jobs:
6162
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
6263
with:
6364
persist-credentials: false
65+
submodules: true
6466

6567
- uses: oxc-project/setup-rust@d286d43bc1f606abbd98096666ff8be68c8d5f57 # v1.0.0
6668
with:
@@ -89,6 +91,7 @@ jobs:
8991
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
9092
with:
9193
persist-credentials: false
94+
submodules: true
9295

9396
- uses: oxc-project/setup-rust@d286d43bc1f606abbd98096666ff8be68c8d5f57 # v1.0.0
9497
with:
@@ -126,6 +129,7 @@ jobs:
126129
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
127130
with:
128131
persist-credentials: false
132+
submodules: true
129133

130134
- run: |
131135
brew install rustup
@@ -161,6 +165,7 @@ jobs:
161165
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
162166
with:
163167
persist-credentials: false
168+
submodules: true
164169

165170
- uses: oxc-project/setup-rust@d286d43bc1f606abbd98096666ff8be68c8d5f57 # v1.0.0
166171
with:

.github/workflows/deny.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,16 @@ on:
77
pull_request:
88
types: [opened, synchronize]
99
paths:
10-
- "Cargo.lock"
11-
- "deny.toml"
12-
- ".github/workflows/deny.yml"
10+
- 'Cargo.lock'
11+
- 'deny.toml'
12+
- '.github/workflows/deny.yml'
1313
push:
1414
branches:
1515
- main
1616
paths:
17-
- "Cargo.lock"
18-
- "deny.toml"
19-
- ".github/workflows/deny.yml"
17+
- 'Cargo.lock'
18+
- 'deny.toml'
19+
- '.github/workflows/deny.yml'
2020

2121
concurrency:
2222
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
@@ -30,6 +30,7 @@ jobs:
3030
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
3131
with:
3232
persist-credentials: false
33+
submodules: true
3334

3435
- uses: oxc-project/setup-rust@d286d43bc1f606abbd98096666ff8be68c8d5f57 # v1.0.0
3536
with:

.github/workflows/release.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ jobs:
2323
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2424
with:
2525
persist-credentials: false
26+
submodules: true
2627

2728
- uses: oxc-project/setup-rust@d286d43bc1f606abbd98096666ff8be68c8d5f57 # v1.0.2
2829
with:
@@ -93,6 +94,7 @@ jobs:
9394
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
9495
with:
9596
persist-credentials: false
97+
submodules: true
9698

9799
- uses: oxc-project/setup-node@fdbf0dfd334c4e6d56ceeb77d91c76339c2a0885 # v1.0.4
98100

@@ -120,8 +122,8 @@ jobs:
120122
- uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
121123
with:
122124
node-version-file: .node-version
123-
registry-url: "https://npm.pkg.github.com"
124-
scope: "@voidzero-dev"
125+
registry-url: 'https://npm.pkg.github.com'
126+
scope: '@voidzero-dev'
125127
package-manager-cache: false
126128

127129
- run: npm install -g npm@latest # For trusted publishing support

.github/workflows/zizmor.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ on:
77
pull_request:
88
types: [opened, synchronize]
99
paths:
10-
- ".github/workflows/**"
10+
- '.github/workflows/**'
1111
push:
1212
branches:
1313
- main
14-
- "renovate/**"
14+
- 'renovate/**'
1515
paths:
16-
- ".github/workflows/**"
16+
- '.github/workflows/**'
1717

1818
jobs:
1919
zizmor:
@@ -26,6 +26,7 @@ jobs:
2626
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
2727
with:
2828
persist-credentials: false
29+
submodules: true
2930

3031
- uses: taiki-e/install-action@ae97ff9daf1cd2e216671a047d80ff48461e30bb # v2.49.1
3132
with:

0 commit comments

Comments
 (0)