Skip to content

Commit

Permalink
ci: Bump repo to Solana 1.17 (#5575)
Browse files Browse the repository at this point in the history
* 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 <81144685+2501babe@users.noreply.github.com>
  • Loading branch information
joncinque and 2501babe committed Oct 19, 2023
1 parent 4fa6f02 commit c32015e
Show file tree
Hide file tree
Showing 197 changed files with 1,575 additions and 1,540 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/pull-request-account-compression.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,11 @@ jobs:
- name: Install dependencies
run: |
./ci/install-build-deps.sh
./ci/install-program-deps.sh
echo "$HOME/.local/share/solana/install/active_release/bin" >> $GITHUB_PATH
- name: Build Anchor Programs
run: |
./ci/anchor-build.sh account-compression
- name: Build and test programs
run: ./ci/cargo-test-sbf.sh account-compression

- name: Upload programs
uses: actions/upload-artifact@v2
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ jobs:
uses: actions-rs/cargo@v1
with:
command: clippy
args: -Zunstable-options --workspace --all-targets --features test-sbf -- --deny=warnings --deny=clippy::integer_arithmetic
args: -Zunstable-options --workspace --all-targets --features test-sbf -- --deny=warnings --deny=clippy::arithmetic_side_effects

audit:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -109,6 +109,9 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: Remove unneeded packages for more space
run: bash ./ci/warning/purge-ubuntu-runner.sh

- name: Set env vars
run: |
source ci/rust-version.sh
Expand Down
4 changes: 2 additions & 2 deletions Anchor.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
anchor_version = "0.28.0"
solana_version = "1.16.16"
anchor_version = "0.29.0"
solana_version = "1.17.2"

[workspace]
members = [
Expand Down
Loading

0 comments on commit c32015e

Please sign in to comment.