Skip to content

Clippy refactor

Clippy refactor #82

Workflow file for this run

name: CI
on:
push:
branches: [main, develop]
pull_request:
types: [opened, synchronize]
merge_group: {}
jobs:
matrix:
name: Build and Test Matrix
timeout-minutes: 15
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
toolchain:
- "1.76.0"
- stable
- beta
- nightly
command:
- build
- test
include:
- toolchain: "1.76.0"
command: clippy
steps:
- uses: actions/checkout@v4
- run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }}
- run: cargo ${{ matrix.command }} --verbose
env:
RUSTFLAGS: "-Dwarnings"
ci:
name: Build and Test
needs: matrix
if: ${{ always() }}
runs-on: ubuntu-latest
steps:
- run: ${{ needs.matrix.result == 'success' && 'true' || 'false' }}