Skip to content

test: add unit tests for entire project #36

test: add unit tests for entire project

test: add unit tests for entire project #36

Workflow file for this run

# SPDX-License-Identifier: MIT
# Copyright (c) 2022-2025 Andriel Ferreira <https://github.com/AndrielFR>
on: [push, pull_request]
name: Lint
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v2
- name: Install stable toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
components: rustfmt, clippy
- name: Run cargo fmt
uses: actions-rs/cargo@v1
with:
command: fmt
args: -- --check
- name: Run cargo clippy
uses: actions-rs/cargo@v1
with:
command: clippy
args: -- -D warnings