Skip to content
Merged
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
10 changes: 5 additions & 5 deletions .github/workflows/anchor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,16 @@ jobs:
- uses: actions/checkout@v3
- uses: ./
with:
solana-version: v1.16.18
anchor-version: v0.28.0
rust-version: 1.73.0
solana-version: v1.17.34
anchor-version: v0.29.0
rust-version: 1.74.1
setup-node: 20
workspace: "tests/anchor"

- name: Anchor build & test
run: |
solana --version | grep 1.16.18
anchor --version | grep 0.28.0
solana --version | grep 1.17.34
anchor --version | grep 0.29.0
cd tests/anchor
anchor build
anchor test --skip-lint
10 changes: 6 additions & 4 deletions .github/workflows/bpf-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,13 @@ jobs:
- uses: actions/checkout@v3
- uses: ./
with:
solana-version: v1.16.18
rust-version: 1.73.0
solana-version: v1.17.34
rust-version: 1.74.1
workspace: "tests/test-bpf"

- name: Host test
run: |
sudo apt-get install libprotobuf-dev protobuf-compiler
cd tests/test-bpf
cargo build
cargo test
Expand All @@ -35,12 +36,13 @@ jobs:
- uses: actions/checkout@v3
- uses: ./
with:
solana-version: v1.16.18
rust-version: 1.73.0
solana-version: v1.17.34
rust-version: 1.74.1
workspace: "tests/test-bpf"

- name: Bpf test
run: |
sudo apt-get install libprotobuf-dev protobuf-compiler
cd tests/test-bpf
cargo build-bpf
cargo test-bpf
2 changes: 1 addition & 1 deletion .github/workflows/simple.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- uses: actions/checkout@v3
- uses: ./
with:
solana-version: v1.16.18
solana-version: v1.17.34

- run: |
solana --version
6 changes: 3 additions & 3 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ name: 'Setup Solana SDK'
description: 'Setup the Solana SDK and the rust toolchain to build and test smart contracts'
inputs:
solana-version:
description: "Version of the solana sdk to install (eg. 'v1.16.18'). Avoid symbolic channels (stable, beta and edge) as cache won't get invalidated properly"
description: "Version of the solana sdk to install (eg. 'v1.17.34'). Avoid symbolic channels (stable, beta and edge) as cache won't get invalidated properly"
required: true
anchor-version:
description: "Optional version of Anchor CLI to install (eg. 'v0.28.0')"
description: "Optional version of Anchor CLI to install (eg. 'v0.29.0')"
rust-version:
description: "Version of rust to install (eg. 'stable'). Will install fmt and clippy"
default: 'stable'
Expand Down Expand Up @@ -78,7 +78,7 @@ runs:
- name: Install Solana
if: steps.cache-solana.outputs.cache-hit != 'true'
run: |
sh -c "$(curl -sSfL https://release.solana.com/${{ inputs.solana-version }}/install)"
sh -c "$(curl -sSfL https://release.anza.xyz/${{ inputs.solana-version }}/install)"
shell: bash
- name: Enable Solana bins
run: |
Expand Down
Loading