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
43 changes: 22 additions & 21 deletions .github/workflows/build-lint-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,31 +11,32 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v5
with:
fetch-depth: 0
- name: Checkout code
uses: actions/checkout@v5
with:
fetch-depth: 0

- name: Setup Rust
run: |
rustup toolchain install stable
rustup default stable
- name: Setup Rust
run: |
rustup toolchain install stable
rustup default stable
rustup component add clippy rustfmt

# Needed for the tests
- name: Set git username
run: git config --global user.name ${{ github.repository_owner}}
# Needed for the tests
- name: Set git username
run: git config --global user.name ${{ github.repository_owner}}

- name: Check dependencies
uses: EmbarkStudios/cargo-deny-action@v2
- name: Check dependencies
uses: EmbarkStudios/cargo-deny-action@v2

- name: Install dependencies
run: cargo build --verbose
- name: Install dependencies
run: cargo build --verbose

- name: Run Clippy (Linting)
run: cargo clippy -- -D warnings
- name: Run Clippy (Linting)
run: cargo clippy -- -D warnings

- name: Check formatting
run: cargo fmt -- --check
- name: Check formatting
run: cargo fmt -- --check

- name: Run tests
run: cargo test --verbose
- name: Run tests
run: cargo test --verbose
35 changes: 14 additions & 21 deletions Cargo.lock

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

6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ categories = ["command-line-utilities"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
clap = { version = "4.5.46", features = ["derive"] }
clap = { version = "4.5.48", features = ["derive"] }
git2 = { version = "0.20.2", features = [] }
regex = "1.11.2"
regex = "1.11.3"
itertools = "0.14.0"
chrono = "0.4.41"
chrono = "0.4.42"