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

Upgrade Cargo packages #259

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/fuzzing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
with:
override: true
profile: minimal
toolchain: nightly-2021-12-25
toolchain: nightly-2022-02-01
- name: Cache dependencies
uses: Swatinem/rust-cache@v2

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/libraries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

env:
CARGO_TERM_COLOR: always
RUST_TOOLCHAIN: "1.59.0"
RUST_TOOLCHAIN: "1.68.0-dev"

jobs:
doc:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/prebuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

env:
CARGO_TERM_COLOR: always
RUST_TOOLCHAIN: "1.59.0"
RUST_TOOLCHAIN: "1.68.0-dev"

jobs:
lint:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/program.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ on:

env:
CARGO_TERM_COLOR: always
SOLANA_VERSION: "1.11.10"
RUST_TOOLCHAIN: "1.59.0"
SOLANA_VERSION: "1.17.10"
RUST_TOOLCHAIN: "1.68.0-dev"

jobs:
unit-tests:
Expand Down Expand Up @@ -68,7 +68,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "14"
node-version: "18"

- name: Cache SDK dependencies
uses: actions/cache@v3
Expand Down Expand Up @@ -117,7 +117,7 @@ jobs:
key: ${{ runner.os }}-${{ env.SOLANA_VERSION }}

- name: Build
run: nix shell .#ci --command anchor build --program-name stable_swap
run: nix shell .#ci --command anchor build --program-name stable_swap --arch sbf
- name: Run e2e tests
working-directory: stable-swap-program
run: nix shell ../#ci --command ./do.sh e2e-test
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

env:
CARGO_TERM_COLOR: always
RUST_TOOLCHAIN: "1.59.0"
RUST_TOOLCHAIN: "1.68.0-dev"

jobs:
release-crate:
Expand Down Expand Up @@ -45,7 +45,7 @@ jobs:
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}

- name: Build programs
run: nix shell .#ci --command anchor build --verifiable --program-name stable_swap
run: nix shell .#ci --command anchor build --verifiable --program-name stable_swap --arch sbf
- name: Release
uses: softprops/action-gh-release@v1
with:
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.24.2"
solana_version = "1.11.10"
anchor_version = "0.29.0"
solana_version = "1.17.10"

[workspace]
members = [
Expand Down
Loading
Loading