Skip to content

Commit

Permalink
Update Solana Libs (#147)
Browse files Browse the repository at this point in the history
Co-authored-by: Lucas B <lucas@jito.wtf>
Co-authored-by: Edgar <edgar@jito.wtf>
  • Loading branch information
3 people authored Feb 4, 2025
1 parent 40004c4 commit 4bea93c
Show file tree
Hide file tree
Showing 16 changed files with 1,937 additions and 1,513 deletions.
16 changes: 8 additions & 8 deletions .github/actions/setup-rust/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: Setup Rust
description: Installs rust in a bare metal fashion
inputs:
caller-workflow-name:
description: 'Name of workflow used for creating a cache key in ASCII format.'
description: "Name of workflow used for creating a cache key in ASCII format."
required: true
default: ''
default: ""

runs:
using: composite
Expand Down Expand Up @@ -52,17 +52,17 @@ runs:

- name: Install cargo dependencies
run: |
rustup install nightly-2024-02-01
rustup component add rustfmt --toolchain nightly-2024-02-01-x86_64-unknown-linux-gnu
rustup component add clippy --toolchain nightly-2024-02-01-x86_64-unknown-linux-gnu
cargo install cargo-udeps@0.1.45 --locked
rustup install nightly-2024-09-05
rustup component add rustfmt --toolchain nightly-2024-09-05-x86_64-unknown-linux-gnu
rustup component add clippy --toolchain nightly-2024-09-05-x86_64-unknown-linux-gnu
cargo install cargo-udeps@0.1.53 --locked
cargo install cargo-sort
shell: bash

- name: Check rust version after
run: |
rustc --version;
cargo --version;
cargo +nightly-2024-02-01-x86_64-unknown-linux-gnu clippy --version;
cargo +nightly-2024-02-01-x86_64-unknown-linux-gnu fmt --version;
cargo +nightly-2024-09-05-x86_64-unknown-linux-gnu clippy --version;
cargo +nightly-2024-09-05-x86_64-unknown-linux-gnu fmt --version;
shell: bash
6 changes: 3 additions & 3 deletions .github/workflows/clean_code.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ jobs:
steps:
- uses: actions/checkout@v3
with:
submodules: 'recursive'
submodules: "recursive"

- name: Setup Rust
uses: ./.github/actions/setup-rust
with:
caller-workflow-name: clippy_and_udeps_check

- name: cargo clippy
run: cargo +nightly-2024-02-01-x86_64-unknown-linux-gnu clippy --all-targets
run: cargo +nightly-2024-09-05-x86_64-unknown-linux-gnu clippy --all-targets

- name: cargo udeps
run: cargo +nightly-2024-02-01-x86_64-unknown-linux-gnu udeps --locked
run: cargo +nightly-2024-09-05-x86_64-unknown-linux-gnu udeps --locked
Loading

0 comments on commit 4bea93c

Please # to comment.