Skip to content

chore: add github action for testing and linting #1

chore: add github action for testing and linting

chore: add github action for testing and linting #1

Workflow file for this run

name: test and lint
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
- name: Build
run: cargo build --verbose
- name: Run checks
run: cargo check
- name: Run tests
run: cargo test --verbose
- name: Run lint
run: cargo clippy