CI: Pin downstrem SPL job to v2.0 branch
##### Problem
SPL is about to update to use the v2.1 crates, which will cause the
downstream jobs to fail for branch v2.0.
#### Summary of changes
Checkout the `v2.0` branch from the SPL repo for the downstream tests.
link openssl statically for Windows (#3118)
* ci: fix windows pipeline
* vendor openssl for windows
* add comment for the workaround
(cherry picked from commit 49d2298762)
Co-authored-by: Yihau Chen <yihau.chen@icloud.com>
* CI: Disable downstream anchor builds (#2629)
#### Problem
With https://github.com/solana-labs/solana-program-library/pull/7148,
spl-token-2022 has moved from using solana-zk-token-sdk to
solana-zk-sdk, which is a major breaking change. Certain agave and
anchor crates are depending on the re-export solana-zk-token-sdk in
spl-token-2022, which is no longer present. This change is causing the
downstream Anchor job to fail, since the patched version of
spl-token-2022 is no longer compatible.
#### Summary of changes
Until new major versions of the SPL crates are available used by the
Agave monorepo, disable the downstream anchor job.
(cherry picked from commit 3b9e7a3ca5)
# Conflicts:
# .github/workflows/downstream-project-anchor.yml
* Fix merge conflicts
---------
Co-authored-by: Jon C <me@jonc.dev>
ci: "Fix" the downstream anchor build (#2208)
* ci: "Fix" the downstream anchor build
* Force the CI run to happen
(cherry picked from commit fe652ca59e)
Co-authored-by: Jon C <me@jonc.dev>
* ci: use pull_request_target for dependabot pr pipeline
* use both strict rule and loose rule
* upper-case
* Revert "ci: use pull_request_target for dependabot pr pipeline"
This reverts commit 8745388881f5142872e76beef5dd0edcf5684af9.
* add dependabot-pr Github Actions
* move updating dependabot pr process to Github Actions
* update user.email and user.name to dependabot itself
* only add for cargo.lock
* don't push anything if nothing to update
* ci: add upload-gcs-artifact
* ci: publish release binaries to GCS
* ci: redirect github repo to anza-xyz
* ci: publish windows binaries to GCS
* replace release.solana.com with release.anza.xyz
* use a explicit name for credential
Forks will run all the cron schedules. And I do not think they benefit
from those. For the downstream project checks, these runs are actually
very expensive - about an hour of run time per execution. Easily
draining free account limits.
* ci: add clippy test for macos and windows
* ci: remove windows from clippy test
* ci: cancel cargo clippy on Github Actions when new commits comming
* ci: set -e for .github/scripts/cargo-clippy-before-script.sh
* Add feature gate
* Add helper fn
* Require split destination to be rent-exempt if it is active
* Update cli to prefund split accounts
* cli: require rent param with sign-only
* Update tokens to prefund split accounts
* Update split tests with sysvar accounts
* Fix test_split_to_account_with_rent_exempt_reserve
* Fix test_staked_split_destination_minimum_balance
* Fix test_split_more_than_staked
* Fix test_split_minimum_stake_delegation and remove misleading StakeState::Initialized case
* Fix test_split_from_larger_sized_account
* Add test for pre-/post-activation behavior splitting some or all of stake account
* Assert active stake
* Fix runtime test
* Ignore stake-pool downstream
* Review comments
* Feature gate sysvar reads