Skip to content
This repository was archived by the owner on Mar 11, 2025. It is now read-only.

Commit c32015e

Browse files
joncinque2501babe
andauthored
ci: Bump repo to Solana 1.17 (#5575)
* Update workspace for new cargo resolver, remove ntapi patch * Update Rust versions * Update dependencies with `./update-solana-dependencies.sh 1.17.2` * Update lockfile * Fix build errors * Run clippy with `--fix` * concurrent-merkle-tree: Fix function to not use mutable ref * Replace StakeState with StakeStateV2 * governance: Fix clippy lint * governance: Fix unnecessary mut * Allow `clippy::items_after_module` * token: Make error tests clearer * token-2022: Fix private glob re-export * token-upgrade-cli: Replace validator with parser * single-pool-cli: Fix parsers * ci: Update clippy command * Update anchor version * token-metadata: Use `no-entrypoint` feature in token-2022 * ci: Add protobuf-compiler to build deps * discriminator-syn: *Don't* specify type of lib to build * ci: Blast directories in cargo-build-test * account-compression: Update build and lockfile * Update token-group and feature-gate * single-pool: revert WrongStakeStateV2 * stake-pool: revert WrongStakeStateV2 * stake-pool-py: revert StakeStateV2 --------- Co-authored-by: hanako mumei <[email protected]>
1 parent 4fa6f02 commit c32015e

File tree

197 files changed

+1575
-1540
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

197 files changed

+1575
-1540
lines changed

.github/workflows/pull-request-account-compression.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,11 +59,11 @@ jobs:
5959
- name: Install dependencies
6060
run: |
6161
./ci/install-build-deps.sh
62+
./ci/install-program-deps.sh
6263
echo "$HOME/.local/share/solana/install/active_release/bin" >> $GITHUB_PATH
6364
64-
- name: Build Anchor Programs
65-
run: |
66-
./ci/anchor-build.sh account-compression
65+
- name: Build and test programs
66+
run: ./ci/cargo-test-sbf.sh account-compression
6767

6868
- name: Upload programs
6969
uses: actions/upload-artifact@v2

.github/workflows/pull-request.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ jobs:
7777
uses: actions-rs/cargo@v1
7878
with:
7979
command: clippy
80-
args: -Zunstable-options --workspace --all-targets --features test-sbf -- --deny=warnings --deny=clippy::integer_arithmetic
80+
args: -Zunstable-options --workspace --all-targets --features test-sbf -- --deny=warnings --deny=clippy::arithmetic_side_effects
8181

8282
audit:
8383
runs-on: ubuntu-latest
@@ -109,6 +109,9 @@ jobs:
109109
steps:
110110
- uses: actions/checkout@v2
111111

112+
- name: Remove unneeded packages for more space
113+
run: bash ./ci/warning/purge-ubuntu-runner.sh
114+
112115
- name: Set env vars
113116
run: |
114117
source ci/rust-version.sh

Anchor.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
anchor_version = "0.28.0"
2-
solana_version = "1.16.16"
1+
anchor_version = "0.29.0"
2+
solana_version = "1.17.2"
33

44
[workspace]
55
members = [

0 commit comments

Comments
 (0)