Skip to content

Commit

Permalink
add gitHub actions workflow for build and test
Browse files Browse the repository at this point in the history
Signed-off-by: Shubh <shubhisroking@proton.me>
  • Loading branch information
shubhisroking committed Sep 7, 2023
1 parent 2582fe6 commit afc4241
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Build and Test

on:
push:
pull_request:
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest

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

- name: Install Rust
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable

- name: Build
run: cargo build --release

- name: Test
run: cargo test

0 comments on commit afc4241

Please sign in to comment.