Skip to content

Commit a805070

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

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

.circleci/config.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ version: 2.1
33
orbs:
44
go: circleci/[email protected]
55
python: circleci/[email protected]
6+
rust: circleci/[email protected]
67
win: circleci/[email protected]
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
@@ -465,11 +466,9 @@ jobs:
465466
- cargocache-v2-package_cw_schema_codegen-rust:1.82-{{ checksum "Cargo.lock" }}
466467
- go/install:
467468
version: 1.23.4
468-
- python/install-packages:
469-
pkg-manager: pip
470-
- python/install-packages:
471-
args: pydantic
472-
pkg-manager: pip
469+
- run:
470+
name: Install pydantic
471+
run: pip install pydantic
473472
- run:
474473
name: Build
475474
working_directory: ~/project/packages/cw-schema-codegen

0 commit comments

Comments
 (0)