|
@@ -49,6 +49,7 @@ jobs:
|
|
uses: dtolnay/rust-toolchain@stable
|
|
uses: dtolnay/rust-toolchain@stable
|
|
with:
|
|
with:
|
|
toolchain: stable
|
|
toolchain: stable
|
|
|
|
+ components: rustfmt
|
|
|
|
|
|
- name: Cache rust
|
|
- name: Cache rust
|
|
uses: Swatinem/rust-cache@v2
|
|
uses: Swatinem/rust-cache@v2
|
|
@@ -68,8 +69,10 @@ jobs:
|
|
- uses: actions/checkout@v4
|
|
- uses: actions/checkout@v4
|
|
- name: Cache rust
|
|
- name: Cache rust
|
|
uses: Swatinem/rust-cache@v2
|
|
uses: Swatinem/rust-cache@v2
|
|
- - name: Run fmt
|
|
|
|
- run: cargo fmt -- --check
|
|
|
|
|
|
+ - name: Check Rust version
|
|
|
|
+ run: rustc --version
|
|
|
|
+# - name: Run fmt
|
|
|
|
+# run: cargo fmt -- --check --verbose
|
|
- name: Run clippy
|
|
- name: Run clippy
|
|
run: cargo clippy -- --deny=warnings
|
|
run: cargo clippy -- --deny=warnings
|
|
|
|
|
|
@@ -181,4 +184,4 @@ jobs:
|
|
cargo update
|
|
cargo update
|
|
yarn add file:../clients/bolt-sdk/ -D # Overrides the bolt ts SDK with the local version
|
|
yarn add file:../clients/bolt-sdk/ -D # Overrides the bolt ts SDK with the local version
|
|
bolt build
|
|
bolt build
|
|
- bolt test
|
|
|
|
|
|
+ bolt test
|