Skip to content

Commit 027aacf

Browse files
authored
Merge branch 'rust-lang:main' into main
2 parents 4765750 + de07249 commit 027aacf

File tree

389 files changed

+11037
-8862
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

389 files changed

+11037
-8862
lines changed

.eslintrc.js

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -107,15 +107,6 @@ module.exports = {
107107
},
108108
},
109109

110-
// mirage files
111-
{
112-
files: ['mirage/**/*.js'],
113-
rules: {
114-
// disabled because of different `.find()` meaning
115-
'unicorn/no-array-callback-reference': 'off',
116-
},
117-
},
118-
119110
// node files
120111
{
121112
files: [

.github/workflows/ci.yml

Lines changed: 30 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ env:
1919
# renovate: datasource=crate depName=grcov versioning=semver
2020
GRCOV_VERSION: 0.8.20
2121
# renovate: datasource=npm depName=pnpm
22-
PNPM_VERSION: 9.15.4
22+
PNPM_VERSION: 9.15.5
2323
# renovate: datasource=docker depName=postgres
2424
POSTGRES_VERSION: 16
2525

@@ -39,7 +39,7 @@ jobs:
3939
files_ignore: |
4040
app/**
4141
e2e/**
42-
mirage/**
42+
packages/**
4343
public/**
4444
tests/**
4545
.eslintrc
@@ -169,7 +169,7 @@ jobs:
169169
- run: rustup component add llvm-tools
170170
- run: ./grcov . --binary-path ${CARGO_TARGET_DIR}/debug/ -s . -t lcov --branch --ignore-not-existing --ignore "/*" --ignore "${CARGO_TARGET_DIR}/debug/build/**" -o ${CARGO_TARGET_DIR}/coverage.lcov
171171

172-
- uses: codecov/codecov-action@1e68e06f1dbfde0e4cefc87efeba9e4643565303 # v5.1.2
172+
- uses: codecov/codecov-action@13ce06bfc6bbe3ecf90edbbf1bc32fe5978ca1d3 # v5.3.1
173173
with:
174174
files: ${CARGO_TARGET_DIR}/coverage.lcov
175175
env:
@@ -190,7 +190,7 @@ jobs:
190190
with:
191191
version: ${{ env.PNPM_VERSION }}
192192

193-
- uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
193+
- uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
194194
with:
195195
cache: pnpm
196196
node-version-file: package.json
@@ -226,7 +226,7 @@ jobs:
226226
with:
227227
version: ${{ env.PNPM_VERSION }}
228228

229-
- uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
229+
- uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
230230
with:
231231
cache: pnpm
232232
node-version-file: package.json
@@ -239,6 +239,30 @@ jobs:
239239
- if: github.repository != 'rust-lang/crates.io'
240240
run: pnpm test-coverage
241241

242+
msw-test:
243+
name: Frontend / Test (@crates-io/msw)
244+
runs-on: ubuntu-24.04
245+
needs: [changed-files]
246+
if: needs.changed-files.outputs.non-rust == 'true'
247+
248+
steps:
249+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
250+
with:
251+
persist-credentials: false
252+
253+
- uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 # v4.0.0
254+
with:
255+
version: ${{ env.PNPM_VERSION }}
256+
257+
- uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
258+
with:
259+
cache: pnpm
260+
node-version-file: package.json
261+
262+
- run: pnpm install
263+
264+
- run: pnpm --filter "@crates-io/msw" test
265+
242266
e2e-test:
243267
name: Frontend / Test (playwright)
244268
runs-on: ubuntu-24.04
@@ -264,7 +288,7 @@ jobs:
264288
with:
265289
version: ${{ env.PNPM_VERSION }}
266290

267-
- uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
291+
- uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
268292
with:
269293
cache: pnpm
270294
node-version-file: package.json

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
/tmp
77

88
# dependencies
9-
/node_modules
9+
node_modules/
1010
/bower_components
1111
package-lock.json
1212
yarn.lock

0 commit comments

Comments
 (0)