Skip to content

add a warning when a near-table is detected #133

add a warning when a near-table is detected

add a warning when a near-table is detected #133

Workflow file for this run

on:
pull_request:
push:
branches:
- main
name: continuous-integration
env:
CLIPPY_OPTIONS: "-D warnings"
jobs:
fmt-check-clippy:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- name: Setup Rust toolchain
uses: actions-rust-lang/[email protected]
with:
rustflags: ""
- name: Format
run: cargo fmt --all -- --check
- name: Check the library
run: cargo check --workspace --lib
- name: Check the tests
run: cargo check --workspace --tests
- name: Clippy
run: cargo clippy --workspace -- $CLIPPY_OPTIONS
tests:
strategy:
fail-fast: true
matrix:
platform: [windows-latest, macos-latest, ubuntu-20.04]
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v3
- name: Setup Rust toolchain
uses: actions-rust-lang/[email protected]
with:
rustflags: ""
- name: Tests
run: cargo test --workspace