Skip to content

Commit 444dab5

Browse files
committed
ci: don't use fetch --locked on templates
1 parent 1d3a077 commit 444dab5

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/ci.yaml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,9 @@ jobs:
5050
run: cd xtask && cargo build
5151
- name: xtask generate
5252
run: cargo xtask generate
53-
- name: cargo fetch --locked
54-
run: cargo xtask generate -x "cargo fetch --locked --target $TARGET"
53+
# no --locked, templates need to generate their lockfile
54+
- name: cargo fetch
55+
run: cargo xtask generate -x "cargo fetch --target $TARGET"
5556
- name: cargo build
5657
run: cargo xtask generate -x "cargo build"
5758
- name: cargo test
@@ -117,8 +118,9 @@ jobs:
117118
run: cd xtask && cargo build
118119
- name: xtask generate
119120
run: cargo xtask generate
120-
- name: cargo fetch --locked
121-
run: cargo xtask generate -x "cargo fetch --locked"
121+
# no --locked, templates need to generate their lockfile
122+
- name: cargo fetch
123+
run: cargo xtask generate -x "cargo fetch"
122124
- name: fmt
123125
run: cargo xtask generate -x "cargo fmt --all -- --check"
124126
- name: clippy

0 commit comments

Comments
 (0)