Skip to content

Merge pull request #12 from G-Core/feat/243-write-region-to-stats #57

Merge pull request #12 from G-Core/feat/243-write-region-to-stats

Merge pull request #12 from G-Core/feat/243-write-region-to-stats #57

Workflow file for this run

name: Continuous Integration
on: [ push ]
env:
CARGO_TERM_COLOR: always
RUSTFLAGS: "-Dwarnings"
jobs:
build:
runs-on: ubuntu-latest
if: github.ref != 'refs/heads/main'
steps:
- name: Clone repo
uses: actions/checkout@v4
with:
submodules: recursive
- name: Setup Rust
uses: dtolnay/rust-toolchain@stable
with:
target: wasm32-wasi
components: rustfmt, clippy
- name: Cache dependencies
uses: Swatinem/[email protected]
- name: Run cargo-audit binary crate
uses: rustsec/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Release Build
run: cargo build --release --all-features
- name: Run Clippy
run: cargo clippy --all-targets --all-features