From 386b4c6e31199361ec89ea6380f77715e52917b4 Mon Sep 17 00:00:00 2001 From: Jeff Date: Fri, 27 Oct 2023 10:43:29 -0500 Subject: [PATCH] Add GitHub workflow to build and test --- .github/workflows/rust.yml | 17 +++++++++++++++++ CHANGELOG.md | 5 +++++ 2 files changed, 22 insertions(+) create mode 100644 .github/workflows/rust.yml diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml new file mode 100644 index 0000000..8eae52e --- /dev/null +++ b/.github/workflows/rust.yml @@ -0,0 +1,17 @@ +name: Rust +on: + push: + branches: + - master + pull_request: +env: + CARGO_TERM_COLOR: always +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: Build + run: cargo build --verbose + - name: Run tests + run: cargo test --verbose diff --git a/CHANGELOG.md b/CHANGELOG.md index d3f7f4a..8446689 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](http://semver.org/). ## [Unreleased] +### Added + +* [#4](https://github.com/jeffreyc/jsondiff/pull/4) + Add GitHub workflow to build and test + ### Security * [#1](https://github.com/jeffreyc/jsondiff/pull/1)