Skip to content

Add an 'exact' option for name_tagger.style #14

Add an 'exact' option for name_tagger.style

Add an 'exact' option for name_tagger.style #14

name: Tests and checks
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
test-linux:
name: Run tests on linux (ubuntu)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup rust toolchain
uses: dtolnay/rust-toolchain@master
with:
toolchain: 1.78.0
- name: Compile
run: cargo check
- name: Run tests
run: cargo test -- --nocapture
test-macos:
name: Run tests on MacOS
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- name: Setup rust toolchain
uses: dtolnay/rust-toolchain@master
with:
toolchain: 1.78.0
- name: Compile
run: cargo check
- name: Run tests
run: cargo test -- --nocapture
check-linux:
name: Run checks on linux (ubuntu)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup rust toolchain
uses: dtolnay/rust-toolchain@master
with:
toolchain: 1.78.0
components: clippy, rustfmt
- name: Check formatting
run: cargo fmt -- --check
- name: Lint
run: cargo clippy -- -D warnings
check-macos:
name: Run checks on MacOS
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- name: Setup rust toolchain
uses: dtolnay/rust-toolchain@master
with:
toolchain: 1.78.0
components: clippy, rustfmt
- name: Check formatting
run: cargo fmt -- --check
- name: Lint
run: cargo clippy -- -D warnings