Skip to content

Commit 596dc5c

Browse files
committed
ci: add first ci
1 parent bf0ffb3 commit 596dc5c

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/ci.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,11 @@ jobs:
5151
- name: xtask generate
5252
run: cargo xtask generate
5353
- name: cargo fetch --locked
54-
run: cargo xtask generate cargo fetch --locked --target $TARGET
54+
run: cargo xtask generate -x "cargo fetch --locked --target $TARGET"
5555
- name: cargo build
56-
run: cargo xtask generate cargo build
56+
run: cargo xtask generate -x "cargo build"
5757
- name: cargo test
58-
run: cargo xtask generate cargo nextest run
58+
run: cargo xtask generate -x "cargo nextest run"
5959

6060
# This allows us to have a single job we can branch protect on, rather than needing
6161
# to update the branch protection rules when the test matrix changes
@@ -118,11 +118,11 @@ jobs:
118118
- name: xtask generate
119119
run: cargo xtask generate
120120
- name: cargo fetch --locked
121-
run: cargo xtask generate cargo fetch --locked
121+
run: cargo xtask generate -x "cargo fetch --locked"
122122
- name: fmt
123-
run: cargo xtask generate cargo fmt --all -- --check
123+
run: cargo xtask generate -x "cargo fmt --all -- --check"
124124
- name: clippy
125-
run: cargo xtask generate cargo clippy --all-targets -- -D warnings
125+
run: cargo xtask generate -x "cargo clippy --all-targets -- -D warnings"
126126

127127
defaults:
128128
run:

0 commit comments

Comments
 (0)