Skip to content

gblend init option Blended App Foundry Template #21

gblend init option Blended App Foundry Template

gblend init option Blended App Foundry Template #21

Workflow file for this run

name: CI
on:
pull_request:
branches:
- main
env:
CARGO_TERM_COLOR: always
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: Swatinem/rust-cache@v2
with:
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
restore-keys: |
${{ runner.os }}-cargo-
- uses: dtolnay/rust-toolchain@master
with:
toolchain: nightly-2024-10-01
components: rustfmt, clippy
- name: Lint
run: |
cargo fmt -- --check
cargo clippy --all-features --locked -- -D warnings
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: Swatinem/rust-cache@v2
with:
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
restore-keys: |
${{ runner.os }}-cargo-
- uses: dtolnay/rust-toolchain@stable
- name: Install wasm32 target
run: rustup target add wasm32-unknown-unknown
- name: Test
run: cargo test --all-features --locked