Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Anchor 0.30 upgrade, remove jito-programs, and small tweaks #34

Closed
wants to merge 12 commits into from
16 changes: 8 additions & 8 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,14 @@ jobs:
- uses: actions-rust-lang/setup-rust-toolchain@v1
with:
components: rustfmt, clippy
toolchain: nightly-2023-10-05
toolchain: nightly-2024-02-04
- name: Install cargo-sort from crates.io
uses: baptiste0928/cargo-install@v3
with:
crate: cargo-sort
- run: cargo +nightly-2023-10-05 sort --workspace --check
- run: cargo +nightly-2023-10-05 fmt --all --check
- run: cargo +nightly-2023-10-05 clippy --all-features --all-targets --tests -- -D warnings
- run: cargo +nightly-2024-02-04 sort --workspace --check
- run: cargo +nightly-2024-02-04 fmt --all --check
- run: cargo +nightly-2024-02-04 clippy --all-features --all-targets --tests -- -D warnings

udeps:
name: udeps
Expand All @@ -51,12 +51,12 @@ jobs:
submodules: recursive
- uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: nightly-2023-10-05
toolchain: nightly-2024-02-04
- name: Install cargo-udeps from crates.io
uses: baptiste0928/cargo-install@v3
with:
crate: cargo-udeps
- run: cargo +nightly-2023-10-05 udeps --all-features --all-targets --tests
- run: cargo +nightly-2024-02-04 udeps --all-features --all-targets --tests

verified_build:
name: verified_build
Expand All @@ -74,9 +74,9 @@ jobs:
uses: baptiste0928/cargo-install@v3
with:
crate: anchor-cli
version: "0.29.0"
version: "0.30.0"
- name: install solana toolsuite
run: sh -c "$(curl -sSfL https://release.solana.com/v1.16.20/install)"
run: sh -c "$(curl -sSfL https://release.solana.com/v1.18.11/install)"
- name: add to path
run: echo "/home/runner/.local/share/solana/install/active_release/bin" >> $GITHUB_PATH

Expand Down
4 changes: 2 additions & 2 deletions Anchor.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[features]
seeds = false
resolution = false
skip-lint = false
[programs.localnet]
validator_history = "HistoryJTGbKQD2mRgLZ3XhqHnN811Qpez8X9kCcGHoa"
Expand All @@ -18,4 +18,4 @@ cluster = "Localnet"
wallet = "~/.config/solana/id.json"

[scripts]
test = "cargo +nightly test"
test = "cargo +nightly test"
Loading