Skip to content

scripts for building and cleaning #20

scripts for building and cleaning

scripts for building and cleaning #20

on:
pull_request: {}
push:
branches:
- "*"
paths:
- Cargo.lock
- .github/**
- fixtures/**
- packages/cargo/**
jobs:
test:
runs-on: ubuntu-latest
container: rust:1.76.0
steps:
- uses: actions/checkout@v4
- run: cargo test --workspace --all-targets
clippy:
runs-on: ubuntu-latest
container: rust:1.76.0
steps:
- uses: actions/checkout@v4
- run: rustup component add clippy
- run: cargo clippy --all-targets
rustfmt:
runs-on: ubuntu-latest
container: rust:1.76.0
steps:
- uses: actions/checkout@v4
- run: rustup component add rustfmt
- run: cargo fmt --check