Skip to content

Commit 4f2ffee

Browse files
committed
chore: add CI pipeline, Cargo.toml metadata, remove .mov files
CI runs on push to master and PRs: check, test (Linux + macOS), clippy, fmt, and cargo-audit for dependency vulnerabilities. Filled out Cargo.toml with description, license, repository, keywords. Removed .mov source videos (131MB) — GIFs replaced them in the README.
1 parent 10d590d commit 4f2ffee

File tree

7 files changed

+67
-0
lines changed

7 files changed

+67
-0
lines changed

.github/workflows/ci.yml

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [master]
6+
pull_request:
7+
branches: [master]
8+
9+
env:
10+
CARGO_TERM_COLOR: always
11+
12+
jobs:
13+
check:
14+
name: Check
15+
runs-on: ubuntu-latest
16+
steps:
17+
- uses: actions/checkout@v4
18+
- uses: dtolnay/rust-toolchain@stable
19+
- uses: Swatinem/rust-cache@v2
20+
- run: cargo check
21+
22+
test:
23+
name: Test
24+
runs-on: ${{ matrix.os }}
25+
strategy:
26+
matrix:
27+
os: [ubuntu-latest, macos-latest]
28+
steps:
29+
- uses: actions/checkout@v4
30+
- uses: dtolnay/rust-toolchain@stable
31+
- uses: Swatinem/rust-cache@v2
32+
- run: cargo test
33+
34+
clippy:
35+
name: Clippy
36+
runs-on: ubuntu-latest
37+
steps:
38+
- uses: actions/checkout@v4
39+
- uses: dtolnay/rust-toolchain@stable
40+
with:
41+
components: clippy
42+
- uses: Swatinem/rust-cache@v2
43+
- run: cargo clippy -- -D warnings
44+
45+
fmt:
46+
name: Format
47+
runs-on: ubuntu-latest
48+
steps:
49+
- uses: actions/checkout@v4
50+
- uses: dtolnay/rust-toolchain@stable
51+
with:
52+
components: rustfmt
53+
- run: cargo fmt --check
54+
55+
audit:
56+
name: Security Audit
57+
runs-on: ubuntu-latest
58+
steps:
59+
- uses: actions/checkout@v4
60+
- uses: rustsec/audit-check@v2
61+
with:
62+
token: ${{ secrets.GITHUB_TOKEN }}

Cargo.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22
name = "lumolog"
33
version = "0.1.0"
44
edition = "2024"
5+
description = "A terminal log viewer that understands your logs"
6+
license = "MIT"
7+
repository = "https://github.com/HopperShell/lumolog"
8+
keywords = ["logs", "tui", "terminal", "viewer", "cli"]
9+
categories = ["command-line-utilities"]
510

611
[dependencies]
712
anyhow = "1.0.101"

assets/abuseipdb.mov

-21.5 MB
Binary file not shown.

assets/big-yank.mov

-21.5 MB
Binary file not shown.

assets/cursor-mode.mov

-24.9 MB
Binary file not shown.

assets/search.mov

-30.2 MB
Binary file not shown.

assets/timerange.mov

-27.4 MB
Binary file not shown.

0 commit comments

Comments
 (0)