Skip to content

Commit 480239f

Browse files
committed
chore: added CI
1 parent 51dfe92 commit 480239f

2 files changed

Lines changed: 19 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
pull_request:
7+
branches: [ main ]
8+
9+
jobs:
10+
test:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v4
14+
- uses: dtolnay/rust-toolchain@stable
15+
- run: cargo test
16+
- run: cargo clippy -- -D warnings
17+
- run: cargo doc --no-deps

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# patchwork
22

3+
[![Build Status](https://github.com/sphaso/patchwork/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/sphaso/patchwork/actions/workflows/ci.yml)
4+
35
A Rust library for diffing and patching sequences and nested structures.
46

57
## Features

0 commit comments

Comments
 (0)