Skip to content

Bump toml from 0.7.4 to 0.8.4 #256

Bump toml from 0.7.4 to 0.8.4

Bump toml from 0.7.4 to 0.8.4 #256

Workflow file for this run

name: Rust
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
fmt:
name: rustfmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@00b49be78f40fba4e87296b2ead62868750bdd83
with:
toolchain: stable
components: rustfmt
- run: cargo fmt --check
clippy:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install Rust
uses: actions-rs/toolchain@16499b5e05bf2e26879000db0c1d13f7e13fa3af # v1.0.7
with:
toolchain: stable
components: clippy
override: true
target: wasm32-wasi
- name: Rust cache
uses: swatinem/rust-cache@a95ba195448af2da9b00fb742d14ffaaf3c21f43 # v2.7.0
- name: Run clippy
run: cargo clippy --no-deps --workspace --all-targets -- --deny warnings
test:
strategy:
fail-fast: false
matrix:
rust_version:
- stable
os:
- ubuntu-latest
runs-on: ${{ matrix.os }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install Rust
uses: actions-rs/toolchain@16499b5e05bf2e26879000db0c1d13f7e13fa3af # v1.0.7
with:
toolchain: ${{ matrix.rust_version }}
components: clippy
override: true
target: wasm32-wasi
- name: Rust cache
uses: swatinem/rust-cache@a95ba195448af2da9b00fb742d14ffaaf3c21f43 # v2.7.0
- name: Run bulwark tests
uses: actions-rs/cargo@844f36862e911db73fe0815f00a4a2602c279505 # v1.0.3
with:
command: test
args: -p bulwark-cli -p bulwark-config -p bulwark-decision -p bulwark-ext-processor -p bulwark-wasm-host -p bulwark-wasm-sdk -p bulwark-wasm-sdk-macros