Skip to content

Commit

Permalink
Merge pull request #667 from GyulyVGC/v1.3.2
Browse files Browse the repository at this point in the history
v1.3.2
  • Loading branch information
GyulyVGC authored Jan 6, 2025
2 parents 4be7847 + d3f969a commit 371bdf7
Show file tree
Hide file tree
Showing 18 changed files with 294 additions and 260 deletions.
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

0 comments on commit 371bdf7

Please sign in to comment.