Skip to content

Merge pull request #4 from tripledoublev/create-gh-action #1

Merge pull request #4 from tripledoublev/create-gh-action

Merge pull request #4 from tripledoublev/create-gh-action #1

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
lint_and_test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macOS-latest]
rust: [stable]
steps:
- name: Set up Rust toolchain
uses: hecrj/setup-rust-action@v2
with:
rust-version: ${{ matrix.rust }}
- name: Check out the code
uses: actions/checkout@v4
- name: Install Clippy
run: rustup component add clippy
- name: Run Clippy
run: cargo clippy --all-targets --all-features -- -D warnings
- name: Run tests
run: cargo test --verbose