Skip to content

allow no skip-if (#23) #22

allow no skip-if (#23)

allow no skip-if (#23) #22

Workflow file for this run

name: Rust code linting
on:
push:
paths:
- '**.rs'
- '**/workflows/rust.yml'
branches:
- 'main'
pull_request:
paths:
- '**.rs'
branches:
- 'main'
jobs:
lint_and_test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run cargo fmt
working-directory: src/
run: cargo fmt -- --check
- name: Run cargo clippy
working-directory: src/
run: cargo clippy --all-targets --all-features -- -Dwarnings
- name: Run cargo test
run: cargo test --all-features