Skip to content

Commit

Permalink
feat: add tests
Browse files Browse the repository at this point in the history
  • Loading branch information
thewh1teagle committed Dec 15, 2024
1 parent 946bebb commit d5a0b79
Showing 1 changed file with 19 additions and 3 deletions.
22 changes: 19 additions & 3 deletions .github/workflows/lint.yml → .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Lint
name: Test

on:
push:
Expand All @@ -21,7 +21,7 @@ concurrency:

jobs:
fmt:
runs-on: ubuntu-latest
runs-on: macos-latest

steps:
- uses: actions/checkout@v4
Expand All @@ -34,8 +34,24 @@ jobs:
- name: Run cargo fmt
run: cargo fmt --manifest-path Cargo.toml --all -- --check

test:
runs-on: macos-latest

steps:
- uses: actions/checkout@v4

- name: install Rust stable and clippy
uses: dtolnay/rust-toolchain@stable
with:
components: clippy

- uses: Swatinem/rust-cache@v2

- name: run test
run: cargo test

clippy:
runs-on: ubuntu-latest
runs-on: macos-latest

steps:
- uses: actions/checkout@v4
Expand Down

0 comments on commit d5a0b79

Please sign in to comment.