Skip to content

Commit d733c7e

Browse files
Nagaprasadvrkespinola
authored andcommitted
fix: github actions
1 parent da09e49 commit d733c7e

File tree

2 files changed

+3
-20
lines changed

2 files changed

+3
-20
lines changed

.github/workflows/build.yml

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -39,22 +39,6 @@ jobs:
3939
yellowstone-vixen/target/
4040
key: cargo-${{ hashFiles('**/Cargo.lock') }}-0001
4141

42-
# Cache Rust Nightly Toolchain
43-
- name: Cache Rust Nightly
44-
id: cache-rust-nightly
45-
uses: actions/cache@v4
46-
with:
47-
path: ~/.rustup
48-
key: rust-nightly-${{ runner.os }}-${{ hashFiles('rust-toolchain') }}
49-
50-
- name: Install Rust Nightly if Not Cached
51-
if: steps.cache-rust-nightly.outputs.cache-hit != 'true'
52-
uses: actions-rs/toolchain@v1
53-
with:
54-
toolchain: nightly
55-
override: true
56-
components: rustfmt, clippy
57-
5842
- name: Install Latest Protoc
5943
run: |
6044
PROTOC_VERSION=26.1

.github/workflows/test.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,7 @@ jobs:
4545
uses: actions-rs/toolchain@v1
4646
with:
4747
toolchain: nightly
48-
override: true
49-
components: rustfmt, clippy
48+
components: rustfmt
5049

5150
- name: Install Latest Protoc
5251
run: |
@@ -63,12 +62,12 @@ jobs:
6362
run: |
6463
cargo tree
6564
git checkout Cargo.lock
66-
cargo tree --frozen
65+
cargo tree
6766
6867
# fmt
6968
- name: Check fmt
7069
run: cargo +nightly fmt --all -- --check
7170

7271
# clippy
7372
- name: Check clippy
74-
run: cargo +nightly clippy --all-targets --tests -- -Dwarnings
73+
run: cargo clippy --all-targets --tests -- -Dwarnings

0 commit comments

Comments
 (0)