Skip to content

chore: ci on all pull_requests and pushes #5

chore: ci on all pull_requests and pushes

chore: ci on all pull_requests and pushes #5

Workflow file for this run

name: Rust Check Format and Test

Check failure on line 1 in .github/workflows/main.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/main.yml

Invalid workflow file

`push pull_request` is not a valid event name
on:
push
pull_request
jobs:
check-format-and-test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Check formatting
run: cargo fmt -- --check
- name: Build
run: cargo build --release
- name: Test
run: cargo test -- --nocapture