Skip to content

suppress large_enum_variant clippy lint on Action enum #4

suppress large_enum_variant clippy lint on Action enum

suppress large_enum_variant clippy lint on Action enum #4

Workflow file for this run

# SPDX-FileCopyrightText: © 2025 Foundation Devices, Inc. <hello@foundation.xyz>
# SPDX-License-Identifier: GPL-3.0-or-later
name: CI
on:
push:
branches: [main]
pull_request:
env:
CARGO_TERM_COLOR: always
jobs:
fmt:
name: Format
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt
- run: cargo fmt --check
clippy:
name: Clippy (${{ matrix.features }})
runs-on: ubuntu-latest
strategy:
matrix:
features: ["", "alloc", "std"]
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
components: clippy
- run: cargo clippy --features "${{ matrix.features }}" -- -D warnings
build:
name: Build (${{ matrix.features }})
runs-on: ubuntu-latest
strategy:
matrix:
features: ["", "alloc", "std"]
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- run: cargo build --features "${{ matrix.features }}"
test:
name: Test (${{ matrix.features }})
runs-on: ubuntu-latest
strategy:
matrix:
features: ["", "alloc", "std"]
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- run: cargo test --features "${{ matrix.features }}"