From d23bc637378cde4294d474db3ba59186aa19b859 Mon Sep 17 00:00:00 2001 From: Jacob Latonis Date: Tue, 21 Apr 2026 21:37:35 -0400 Subject: [PATCH 1/2] ci: add test and build workflows --- .github/workflows/build.yml | 17 +++++++++++++++++ .github/workflows/test.yml | 11 +++++++++++ readme.md | 4 ++-- 3 files changed, 30 insertions(+), 2 deletions(-) create mode 100644 .github/workflows/build.yml create mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..949578f --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,17 @@ +name: Build +on: + push: + +jobs: + dev: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v6 + - uses: dtolnay/rust-toolchain@stable + - run: cargo build + release: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v6 + - uses: dtolnay/rust-toolchain@stable + - run: cargo build --release diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..68c2aee --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,11 @@ +name: Test +on: + push: + +jobs: + test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v6 + - uses: dtolnay/rust-toolchain@stable + - run: cargo test diff --git a/readme.md b/readme.md index f3faf62..4078f43 100644 --- a/readme.md +++ b/readme.md @@ -1,5 +1,5 @@ # smooth-json -![Publish Status](https://github.com/latonis/smooth-json/actions/workflows/publish.yml/badge.svg) +![Publish Status](https://github.com/latonis/smooth-json/actions/workflows/build.yml/badge.svg) This crate allows for flattening JSON objects into objects ready for use in Parquet, CSV, or other data formats. @@ -143,4 +143,4 @@ fn main() { "a.1.1": "d" } */ -``` \ No newline at end of file +``` From 3c8394edb57b92d229115a41ed40ada78d1cfe76 Mon Sep 17 00:00:00 2001 From: Jacob Latonis Date: Wed, 22 Apr 2026 01:02:33 -0400 Subject: [PATCH 2/2] fix: publish status -> build status --- readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readme.md b/readme.md index 4078f43..484d71c 100644 --- a/readme.md +++ b/readme.md @@ -1,5 +1,5 @@ # smooth-json -![Publish Status](https://github.com/latonis/smooth-json/actions/workflows/build.yml/badge.svg) +![Build Status](https://github.com/latonis/smooth-json/actions/workflows/build.yml/badge.svg) This crate allows for flattening JSON objects into objects ready for use in Parquet, CSV, or other data formats.