Skip to content

Commit

Permalink
chore(test): Add github workflow for cargo test
Browse files Browse the repository at this point in the history
  • Loading branch information
AllexVeldman committed Jun 10, 2024
1 parent ec35476 commit 5390588
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Test

on:
push:
branches:
- main
pull_request:

jobs:
test:
runs-on: ubuntu-latest
name: Test

steps:
- uses: actions/checkout@v4
- uses: actions/cache@v4
with:
path: |
~/.cargo
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}

- name: Test
run: |
cargo test

0 comments on commit 5390588

Please sign in to comment.