Skip to content

fix(env): Add better env for dev example #14

fix(env): Add better env for dev example

fix(env): Add better env for dev example #14

Workflow file for this run

name: Rust CI
on:
push:
branches: "*"
pull_request:
branches: "*"
workflow_call:
jobs:
build:
name: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions-rust-lang/setup-rust-toolchain@v1
- run: cargo check --verbose --workspace
test:
name: test
runs-on: ubuntu-latest
needs: build
steps:
- uses: actions/checkout@v4
- uses: actions-rust-lang/setup-rust-toolchain@v1
- run: cargo test --all-features --workspace
clippy:
name: linter
runs-on: ubuntu-latest
needs: build
steps:
- uses: actions/checkout@v4
- uses: actions-rust-lang/setup-rust-toolchain@v1
with:
components: clippy
- run: cargo clippy -- -D warnings
format:
name: format
runs-on: ubuntu-latest
needs: build
steps:
- uses: actions/checkout@v4
- uses: actions-rust-lang/setup-rust-toolchain@v1
with:
components: rustfmt
- run: cargo fmt -- --check