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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

lang, cli, spl: Update solana toolchain to v1.9.13 #1653

Merged
merged 25 commits into from Mar 27, 2022
Merged
Show file tree
Hide file tree
Changes from 24 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
48 changes: 47 additions & 1 deletion .github/workflows/tests.yaml
Expand Up @@ -8,7 +8,7 @@ on:
branches:
- master
env:
SOLANA_CLI_VERSION: 1.8.14
SOLANA_CLI_VERSION: 1.9.13
NODE_VERSION: 17.0.1

jobs:
Expand Down Expand Up @@ -239,6 +239,52 @@ jobs:
- run: cd tests/bpf-upgradeable-state && cp bpf_upgradeable_state-keypair.json target/deploy/bpf_upgradeable_state-keypair.json && anchor test --skip-local-validator --skip-build --skip-lint
- uses: ./.github/actions/git-diff/

# this test exists to make sure that anchor
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: let's do 80 chars for comments

# checks rent correctly for legacy accounts
# that don't have to be rent-exempt
test-misc-non-rent-exempt:
needs: setup-anchor-cli # this is built with a different solana version but that's fine since it's just the cli
name: Test tests/misc/nonRentExempt
runs-on: ubuntu-18.04
timeout-minutes: 30
steps:
- uses: actions/checkout@v2
- uses: ./.github/actions/setup/
- uses: ./.github/actions/setup-ts/
- uses: actions/cache@v2
name: Cache Solana Tool Suite
id: cache-solana
with:
path: |
~/.cache/solana/
~/.local/share/solana/
key: solana-${{ runner.os }}-v0000-1.8.14
# using an outdated validator but that is ok as long as the test doesn't include newer incompatible features
- run: sh -c "$(curl -sSfL https://release.solana.com/v1.8.14/install)"
shell: bash
- run: echo "/home/runner/.local/share/solana/install/active_release/bin" >> $GITHUB_PATH
shell: bash
- run: solana-keygen new --no-bip39-passphrase
shell: bash
- run: solana config set --url localhost
shell: bash
- uses: actions/download-artifact@v2
with:
name: anchor-binary
path: ~/.cargo/bin/
- run: chmod +x ~/.cargo/bin/anchor
- uses: actions/cache@v2
name: Cache tests/misc target
id: cache-test-target
with:
path: tests/misc/target
key: cargo-${{ runner.os }}-tests/misc-${{ env.ANCHOR_VERSION }}-1.8.14-${{ hashFiles('**/Cargo.lock') }}

- run: cd tests/misc && yarn --frozen-lockfile
- run: cd tests/misc && yarn link @project-serum/anchor
- run: cd tests/misc && chmod +x ci.sh && ./ci.sh
- run: cd tests/misc && anchor test --skip-lint

test-anchor-init:
needs: setup-anchor-cli
name: Test Anchor Init
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Expand Up @@ -25,6 +25,7 @@ The minor version will be incremented upon a breaking change and the patch versi

* avm: `amv install` switches to the newly installed version after installation finishes ([#1670](https://github.com/project-serum/anchor/pull/1670)).
* spl: Re-export the `spl_token` crate ([#1665](https://github.com/project-serum/anchor/pull/1665)).
* lang, cli, spl: Update solana toolchain to v1.9.13 ([#1653](https://github.com/project-serum/anchor/pull/1653)).

## [0.23.0] - 2022-03-20

Expand Down