Skip to content

chore: remove default nixpkgs #68

chore: remove default nixpkgs

chore: remove default nixpkgs #68

Workflow file for this run

name: CI
on:
workflow_call:
workflow_dispatch:
push:
branches:
- main
paths-ignore:
- ".github/**"
- "**/Makefile.toml"
- "release.toml"
- "LICENSE*"
- "README.md"
tags-ignore:
- "**"
pull_request:
branches:
- main
- dev
jobs:
# Run cargo clippy -- -D warnings
clippy_check:
name: Clippy
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v4
- uses: Swatinem/rust-cache@v2
- uses: dtolnay/rust-toolchain@stable
- name: Run clippy
run: cargo clippy -- -D warnings
# Run cargo fmt --all -- --check
format:
name: Format
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- name: Run cargo fmt
run: cargo fmt --all -- --check