Skip to content

Commit

Permalink
bump: remote executor anchor version (#2329)
Browse files Browse the repository at this point in the history
* do it

* do it

* clean

* bpf->sbf

* clean up
  • Loading branch information
guibescos authored Feb 5, 2025
1 parent a9a8e5d commit c6a2eb9
Show file tree
Hide file tree
Showing 12 changed files with 2,368 additions and 1,101 deletions.
1 change: 0 additions & 1 deletion .github/workflows/ci-pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ jobs:
toolchain: 1.82.0
- name: Install Rust versions
run: |
rustup install 1.66.1
rustup install 1.73.0
- name: Install protoc
uses: arduino/setup-protoc@v3
Expand Down
8 changes: 3 additions & 5 deletions .github/workflows/ci-remote-executor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,12 @@ jobs:
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: 1.66.1
toolchain: 1.73.0
components: rustfmt, clippy
override: true
- name: Install Solana
run: |
wget http://nz2.archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1f-1ubuntu2_amd64.deb
sudo dpkg -i libssl1.1_1.1.1f-1ubuntu2_amd64.deb
sh -c "$(curl -sSfL https://release.solana.com/v1.14.18/install)"
sh -c "$(curl -sSfL https://release.solana.com/v1.18.23/install)"
echo "/home/runner/.local/share/solana/install/active_release/bin" >> $GITHUB_PATH
- name: Run executor tests
run: cargo test-bpf --manifest-path ./governance/remote_executor/Cargo.toml
run: cargo test-sbf --manifest-path ./governance/remote_executor/Cargo.toml
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,13 @@ repos:
- id: cargo-fmt-remote-executor
name: Cargo format for remote executor
language: "rust"
entry: cargo +1.66.1 fmt --manifest-path ./governance/remote_executor/Cargo.toml --all
entry: cargo +1.73.0 fmt --manifest-path ./governance/remote_executor/Cargo.toml --all
pass_filenames: false
files: governance/remote_executor
- id: cargo-clippy-remote-executor
name: Cargo clippy for remote executor
language: "rust"
entry: cargo +1.66.1 clippy --manifest-path ./governance/remote_executor/Cargo.toml --tests -- --deny warnings
entry: cargo +1.73.0 clippy --manifest-path ./governance/remote_executor/Cargo.toml --tests -- --deny warnings
pass_filenames: false
files: governance/remote_executor
# Hooks for cosmwasm contract
Expand Down
Loading

0 comments on commit c6a2eb9

Please sign in to comment.