Skip to content

Commit

Permalink
.github/workflows/tests.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
s-damian committed Aug 23, 2024
1 parent 582509a commit 0096d32
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,12 @@ jobs:

strategy:
matrix:
# Anchor releases: https://github.com/coral-xyz/anchor/tags
anchor-version: [0.30.1] # Keep ONLY ONE version.
# Rust releases: https://releases.rs/
rust-version: [1.75.0, 1.80.0]
# Solana releases: https://github.com/solana-labs/solana/tags
solana-version: [1.18.22]
solana-version: [1.18.21, 1.18.22]
# Node.js releases: https://nodejs.org/en/about/previous-releases
node-version: [18, 20]

Expand Down Expand Up @@ -52,7 +54,7 @@ jobs:
- name: Install Anchor
run: |
cargo install --git https://github.com/coral-xyz/anchor anchor-cli --tag v0.30.1 || echo "Anchor installation failed"
cargo install --git https://github.com/coral-xyz/anchor anchor-cli --tag v${{ matrix.anchor-version }} || echo "Anchor installation failed"
anchor --version || echo "Anchor version not found"
- name: Debug Project Structure
Expand Down
2 changes: 1 addition & 1 deletion Anchor.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[toolchain]
anchor_version = "0.30.1" # `anchor-cli` version to use(requires `avm`)
solana_version = "1.18.22" # Solana version to use(applies to all Solana tools)
#solana_version = "1.18.22" # Solana version to use(applies to all Solana tools)

[features]
resolution = true
Expand Down

0 comments on commit 0096d32

Please sign in to comment.