Skip to content

Commit c0545ce

Browse files
committed
Install Rust via Orb
1 parent 9dfadf5 commit c0545ce

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.circleci/config.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ version: 2.1
33
orbs:
44
go: circleci/go@3.0.2
55
python: circleci/python@3.0.0
6+
rust: circleci/rust@1.7.0
67
win: circleci/windows@5.1
78

89
commands:
@@ -451,12 +452,12 @@ jobs:
451452
key: cargocache-v2-package_cw_schema-rust:1.82-{{ checksum "Cargo.lock" }}
452453

453454
package_cw_schema_codegen:
454-
docker:
455-
- image: rust:1.82
456455
executor:
457456
name: python/default
458457
steps:
459458
- checkout
459+
- rust/install:
460+
version: "1.82"
460461
- run:
461462
name: Version information
462463
command: rustc --version; cargo --version; rustup --version; rustup target list --installed

0 commit comments

Comments
 (0)