Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v1.3.2 #667

Merged
merged 12 commits into from
Jan 6, 2025
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
12 changes: 9 additions & 3 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4

- name: Install Linux dependencies
if: matrix.os == 'ubuntu'
run: sudo apt-get update -y && sudo apt-get install -y libpcap-dev libasound2-dev libgtk-3-dev

- name: Install Windows dependencies
if: matrix.os == 'windows'
env:
Expand Down Expand Up @@ -68,13 +72,15 @@ jobs:
with:
targets: ${{ matrix.target }}

- name: Clippy (release mode)
run: |
cargo clippy --release -- -D warnings
cargo clean

- name: Install Cross
if: matrix.os == 'ubuntu'
run: cargo install cross --git https://github.com/cross-rs/cross

- name: Clippy (release mode)
run: cargo clippy --release -- -D warnings

- name: Build binary
if: matrix.os == 'ubuntu'
run: cross build --release --target ${{ matrix.target }}
Expand Down
32 changes: 16 additions & 16 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,25 +58,25 @@ jobs:
run: cargo build --verbose

- name: clippy
if: matrix.os != 'windows' || github.event_name != 'pull_request'
if: matrix.os != 'windows' || github.event_name != 'pull_request'
run: cargo clippy -- -D warnings

- name: test
if: matrix.os != 'windows' || github.event_name != 'pull_request'
run: cargo test --verbose -- --nocapture

- name: Install cargo-llvm-cov
if: matrix.os == 'ubuntu'
uses: taiki-e/install-action@cargo-llvm-cov

- name: Generate code coverage
if: matrix.os == 'ubuntu'
run: cargo llvm-cov --all-features --workspace --lcov --output-path lcov.info --include-build-script --no-cfg-coverage

- name: Upload coverage to Codecov
if: matrix.os == 'ubuntu'
uses: codecov/codecov-action@v5
with:
files: lcov.info
fail_ci_if_error: false
token: ${{ secrets.CODECOV_TOKEN }}
# - name: Install cargo-llvm-cov
# if: matrix.os == 'ubuntu'
# uses: taiki-e/install-action@cargo-llvm-cov
#
# - name: Generate code coverage
# if: matrix.os == 'ubuntu'
# run: cargo llvm-cov --all-features --workspace --lcov --output-path lcov.info --include-build-script --no-cfg-coverage
#
# - name: Upload coverage to Codecov
# if: matrix.os == 'ubuntu'
# uses: codecov/codecov-action@v5
# with:
# files: lcov.info
# fail_ci_if_error: false
# token: ${{ secrets.CODECOV_TOKEN }}
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

All Sniffnet releases with the relative changes are documented in this file.

## [UNRELEASED]
## [1.3.2] - 2025-01-06
- Dropdown menus for network host filters ([#659](https://github.com/GyulyVGC/sniffnet/pull/659) — fixes [#354](https://github.com/GyulyVGC/sniffnet/issues/354))
- Added CLI argument `--adapter [<NAME>]` to allow immediately starting the capture from a given network interface ([#643](https://github.com/GyulyVGC/sniffnet/pull/643) — fixes [#636](https://github.com/GyulyVGC/sniffnet/issues/636))
- Added Vietnamese translation 🇻🇳 ([#577](https://github.com/GyulyVGC/sniffnet/pull/577))
Expand Down
Loading
Loading