Update on upgrading liquid-staking-program with anchor-0.27 #11
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: Cargo lint and test | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
lint_and_test: | |
name: Marinade Common RS CLI | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install libudev | |
run: sudo apt-get install -y libudev-dev pkg-config | |
- uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
- uses: actions-rs/cargo@v1 | |
with: | |
command: fmt | |
args: --all | |
- uses: actions-rs/cargo@v1 | |
with: | |
command: test | |
args: --all-features |