Skip to content

Commit b690ee3

Browse files
authored
fix(ci): missing codegen check (biomejs#3692)
1 parent d079e53 commit b690ee3

File tree

4 files changed

+5
-14
lines changed

4 files changed

+5
-14
lines changed

.cargo/config.toml

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ codegen-bindings = "run -p xtask_codegen --features schema -- bindings"
66
codegen-configuration = "run -p xtask_codegen --features configuration -- configuration"
77
# updates a newly created crate
88
codegen-license = "run -p xtask_codegen --features license -- license"
9+
codegen-migrate = "run -p xtask_codegen --features configuration -- migrate-eslint"
910
codegen-schema = "run -p xtask_codegen --features schema -- schema"
1011
contributors = "run -p xtask_contributors --"
1112
coverage = "run -p xtask_coverage --profile=release-with-debug --"

.github/workflows/pull_request.yml

+2
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,8 @@ jobs:
177177
run: cargo codegen-schema
178178
- name: Run the bindings codegen
179179
run: cargo codegen-bindings
180+
- name: Run the migrate codegen
181+
run: cargo codegen-migrate
180182
- name: Check for git diff
181183
run: |
182184
if [[ `git status --porcelain` ]]; then

crates/biome_cli/src/execute/migrate/eslint_any_rule_to_biome.rs

-12
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

justfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ upgrade-tools:
2222
gen-all:
2323
cargo run -p xtask_codegen -- all
2424
cargo codegen-configuration
25-
cargo run -p xtask_codegen --features configuration -- migrate-eslint
25+
cargo codegen-migrate
2626
just gen-bindings
2727
just format
2828

@@ -35,7 +35,7 @@ gen-bindings:
3535
gen-lint:
3636
cargo run -p xtask_codegen -- analyzer
3737
cargo codegen-configuration
38-
cargo run -p xtask_codegen --features configuration -- migrate-eslint
38+
cargo codegen-migrate
3939
just gen-bindings
4040
cargo run -p rules_check
4141
just format

0 commit comments

Comments
 (0)