Mc/update workflow to match solana version + do soteria scan and lint+tests on all branches to catch issues early on (#37)

* use solana version on ci, same as local, same as in cargo.toml in dev

Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>

* run soteria scan and tests on all branches, so that devs can detect problems early

Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>

* maybe this works to match all branches

Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>

* try stable

Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
This commit is contained in:
microwavedcola1 2022-02-10 20:35:39 +01:00 committed by GitHub
parent 357648e4da
commit ee7d51c229
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 6 deletions

View File

@ -1,14 +1,12 @@
name: Lint and Test
on:
push:
branches: [master, v*.*]
pull_request:
branches: [master, v*.*]
env:
CARGO_TERM_COLOR: always
SOLANA_VERSION: "1.9.1"
RUST_TOOLCHAIN: nightly-2021-12-15
SOLANA_VERSION: "1.9.5"
RUST_TOOLCHAIN: stable
defaults:
run:

View File

@ -2,9 +2,7 @@ name: Soteria Scan
on:
push:
branches: [master, v*.*]
pull_request:
branches: [master, v*.*]
env:
CARGO_TERM_COLOR: always