Skip to content

Add clean target in Makefile (#92) #256

Add clean target in Makefile (#92)

Add clean target in Makefile (#92) #256

Workflow file for this run

name: ci
on: push
env:
LLVM_VERSION: "13.0.0"
jobs:
check:
runs-on: ubuntu-latest
strategy:
matrix:
toolchain: [nightly, stable]
steps:
- uses: actions/checkout@v3
- uses: KyleMayes/install-llvm-action@v1
with:
version: ${{ env.LLVM_VERSION }}
- uses: actions-rs/[email protected]
with:
profile: minimal
toolchain: ${{ matrix.toolchain }}
- uses: actions-rs/[email protected]
with:
command: check
toolchain: ${{ matrix.toolchain }}
fmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions-rs/[email protected]
with:
profile: minimal
toolchain: nightly
components: rustfmt
- uses: actions-rs/[email protected]
with:
command: fmt
args: --all -- --check
toolchain: nightly
clippy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: KyleMayes/install-llvm-action@v1
with:
version: ${{ env.LLVM_VERSION }}
- uses: actions-rs/[email protected]
with:
profile: minimal
toolchain: nightly
- uses: actions-rs/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --all-features