Skip to content

Commit

Permalink
Merge pull request #25 from SanjayShetty01/23-set-up-github-workflow
Browse files Browse the repository at this point in the history
Add GitHub Actions workflow for testing
  • Loading branch information
SanjayShetty01 authored Oct 22, 2024
2 parents 9ff7170 + 41437b3 commit 896e18d
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/rust-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Rust Testing

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

jobs:
test:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Set up Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable

- name: Run tests
run: cargo test --verbose

0 comments on commit 896e18d

Please sign in to comment.