Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Test

on:
push:
branches: ["**"]

jobs:
test:
name: cargo test
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable

- name: Cache cargo registry & build artifacts
uses: actions/cache@v4
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
restore-keys: ${{ runner.os }}-cargo-

- name: Run tests
run: cargo test
4 changes: 4 additions & 0 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,3 +131,7 @@ If port 8080 is already in use, try 8081, 8082, etc.

<!-- This section is maintained by the repository owner. -->
<!-- Add your personal preferences, style rules, and agent behavior guidelines here. -->

### Git Policy

Never run `git commit`, `git push`, or create pull requests unless the user explicitly requests it. Always leave changes staged or unstaged for the user to review before committing.
30 changes: 30 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 5 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@ reqwest = { version = "0.13", features = ["json", "native-tls-vendored"] }
bytes = "1"
chrono = { version = "0.4", features = ["clock"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
serde_json = { version = "1", features = ["preserve_order"] }
clap = { version = "4", features = ["derive", "env"] }
csv = "1"
flate2 = "1"
anyhow = "1"
humanize-duration = "0.0.7"
Expand All @@ -23,3 +24,6 @@ tokio = { version = "1", features = [
"io-util",
"io-std",
] }

[dev-dependencies]
tempfile = "3"
Loading
Loading