⬆️ Upgrade deps & fix action failing (#3) #35
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Bpf-test | |
on: [push, pull_request] | |
jobs: | |
native: | |
name: Native test | |
runs-on: ubuntu-latest | |
env: | |
CARGO_TERM_COLOR: always | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: ./ | |
with: | |
solana-version: v1.16.18 | |
rust-version: 1.73.0 | |
workspace: "tests/test-bpf" | |
- name: Host test | |
run: | | |
cd tests/test-bpf | |
cargo build | |
cargo test | |
bpf: | |
name: Bpf tests | |
runs-on: ubuntu-latest | |
env: | |
CARGO_TERM_COLOR: always | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: ./ | |
with: | |
solana-version: v1.16.18 | |
rust-version: 1.73.0 | |
workspace: "tests/test-bpf" | |
- name: Bpf test | |
run: | | |
cd tests/test-bpf | |
cargo build-bpf | |
cargo test-bpf |