Delete cargo-audit.yml workflow #288
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: CI Testing | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: "Check out repository" | |
uses: actions/checkout@v3 | |
# Rust builds can take some time, cache them. | |
- uses: Swatinem/rust-cache@v2 | |
- name: "Install lunatic" | |
run: cargo install --git https://github.com/lunatic-solutions/lunatic lunatic-runtime | |
- name: Install rust | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
target: wasm32-wasi | |
override: true | |
components: rustfmt, clippy | |
- name: "Run tests" | |
run: cargo test --workspace | |
- name: "Run clippy" | |
run: cargo clippy -- -D warnings | |
- name: "Check formatting" | |
run: cargo fmt -- --check |