Skip to content

Commit

Permalink
feat: add ci
Browse files Browse the repository at this point in the history
  • Loading branch information
tbmc committed May 23, 2024
1 parent 86facc2 commit 1b93a55
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/build_test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: ci

on:
push:
branches:
- "main"
pull_request:
branches:
- "main"

jobs:
test:
name: Test
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Build
run: cargo build
- name: Run clippy
run: cargo clippy --all-targets --all-features
- name: Run tests
run: cargo test --all-targets --all-features

0 comments on commit 1b93a55

Please sign in to comment.