Skip to content

Commit 2c4b333

Browse files
committed
don't lint on arm
1 parent 727189b commit 2c4b333

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ jobs:
5959
jobs: [coverage, lint, lint-deps, test, test-miri, test-ops, test-publish, test-valgrind]
6060
linux-arm:
6161
os: ubuntu-22.04-arm64
62-
jobs: [lint, test, test-miri]
62+
jobs: [test, test-miri]
6363
macos:
6464
os: macOS-latest
6565
jobs: [lint, test]

tools/check.ts

+2-5
Original file line numberDiff line numberDiff line change
@@ -166,9 +166,6 @@ async function runCommands(
166166
}
167167
}
168168

169-
const CLIPPY_FEATURES =
170-
`deno_core/include_js_files_for_snapshotting deno_core/unsafe_runtime_options deno_core/unsafe_use_unprotected_platform`;
171-
172169
export async function main(command: string, flag: string) {
173170
if (command == "format") {
174171
const check = flag == "--check";
@@ -187,7 +184,7 @@ export async function main(command: string, flag: string) {
187184
await runCommands("Linting (--fix)", {
188185
"copyright": $`tools/copyright_checker.js --fix`,
189186
"cargo clippy":
190-
$`cargo clippy --fix --allow-dirty --allow-staged --locked --release --features "${CLIPPY_FEATURES}" --all-targets -- -D clippy::all`,
187+
$`cargo clippy --fix --allow-dirty --allow-staged --locked --release --all-features --all-targets -- -D clippy::all`,
191188
});
192189
} else {
193190
await runCommands("Linting", {
@@ -199,7 +196,7 @@ export async function main(command: string, flag: string) {
199196
"tsc":
200197
$`deno run --allow-read --allow-env npm:[email protected]/tsc --noEmit -p testing/tsconfig.json`,
201198
"cargo clippy":
202-
$`cargo clippy --locked --release --features "${CLIPPY_FEATURES}" --all-targets -- -D clippy::all`,
199+
$`cargo clippy --locked --release --all-features --all-targets -- -D clippy::all`,
203200
});
204201
}
205202
}

0 commit comments

Comments
 (0)