use same rust as what solana uses, use same solana version as cargo toml
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
This commit is contained in:
parent
f844720130
commit
9145746ac0
|
@ -27,9 +27,6 @@ show_tree = true # Show inverse dependency trees along with advisories (default:
|
|||
# arch = "x86_64" # Ignore advisories for CPU architectures other than this one
|
||||
# os = "linux" # Ignore advisories for operating systems other than this one
|
||||
|
||||
[packages]
|
||||
source = "all" # "all", "public" or "local"
|
||||
|
||||
[yanked]
|
||||
enabled = false # Warn for yanked crates in Cargo.lock (default: true)
|
||||
update_index = true # Auto-update the crates.io index (default: true)
|
||||
|
|
|
@ -9,8 +9,8 @@ on:
|
|||
|
||||
env:
|
||||
CARGO_TERM_COLOR: always
|
||||
SOLANA_VERSION: "1.9.5"
|
||||
RUST_TOOLCHAIN: stable
|
||||
SOLANA_VERSION: "1.9.14"
|
||||
RUST_TOOLCHAIN: 1.60.0
|
||||
LOG_PROGRAM: "m43thNJ58XCjL798ZSq6JGAG1BnWskhdq5or6kcnfsD"
|
||||
|
||||
defaults:
|
||||
|
@ -27,7 +27,7 @@ jobs:
|
|||
uses: actions/checkout@v2
|
||||
- name: Install Linux dependencies
|
||||
run: sudo apt-get update && sudo apt-get install -y pkg-config build-essential libudev-dev
|
||||
- name: Install Rust nightly
|
||||
- name: Install Rust
|
||||
uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
override: true
|
||||
|
@ -50,19 +50,12 @@ jobs:
|
|||
uses: actions/checkout@v2
|
||||
- name: Install Linux dependencies
|
||||
run: sudo apt-get update && sudo apt-get install -y pkg-config build-essential libudev-dev
|
||||
- name: Install Rust nightly
|
||||
- name: Install Rust
|
||||
uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
override: true
|
||||
profile: minimal
|
||||
toolchain: ${{ env.RUST_TOOLCHAIN }}
|
||||
- name: Cache dependencies
|
||||
uses: Swatinem/rust-cache@v1
|
||||
- name: Cache Solana binaries
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: ~/.cache/solana
|
||||
key: ${{ runner.os }}-${{ env.SOLANA_VERSION }}
|
||||
- name: Install Solana
|
||||
run: |
|
||||
sh -c "$(curl -sSfL https://release.solana.com/v${{ env.SOLANA_VERSION }}/install)"
|
||||
|
|
|
@ -10,7 +10,7 @@ on:
|
|||
|
||||
env:
|
||||
CARGO_TERM_COLOR: always
|
||||
SOLANA_VERSION: "1.9.5"
|
||||
SOLANA_VERSION: "1.9.14"
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
@ -20,7 +20,7 @@ jobs:
|
|||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
program: [ 'programs/mango-v4', 'programs/margin-trade' ]
|
||||
program: ["programs/mango-v4", "programs/margin-trade"]
|
||||
env:
|
||||
PROGRAM_PATH: ${{ matrix.program }}
|
||||
|
||||
|
|
Loading…
Reference in New Issue