diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6c14958..a4adb27 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -31,7 +31,7 @@ jobs: with: components: rustfmt - uses: Swatinem/rust-cache@v2 - - uses: mozilla-actions/sccache-action@v0.0.6 + - uses: mozilla-actions/sccache-action@v0.0.7 - run: cargo fmt --all -- --check style_lint: @@ -47,8 +47,8 @@ jobs: with: components: clippy - uses: Swatinem/rust-cache@v2 - - uses: mozilla-actions/sccache-action@v0.0.6 - - uses: DavidAnson/markdownlint-cli2-action@v17 + - uses: mozilla-actions/sccache-action@v0.0.7 + - uses: DavidAnson/markdownlint-cli2-action@v18 with: fix: true globs: | @@ -78,7 +78,7 @@ jobs: - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@stable - uses: Swatinem/rust-cache@v2 - - uses: mozilla-actions/sccache-action@v0.0.6 + - uses: mozilla-actions/sccache-action@v0.0.7 - name: Build/Test Info shell: bash run: | @@ -153,7 +153,7 @@ jobs: toolchain: ${{ steps.vars.outputs.TOOLCHAIN }} components: llvm-tools - uses: Swatinem/rust-cache@v2 - - uses: mozilla-actions/sccache-action@v0.0.6 + - uses: mozilla-actions/sccache-action@v0.0.7 - run: cargo install grcov - name: Test shell: bash @@ -196,11 +196,11 @@ jobs: report=${COVERAGE_REPORT_FILE} outputs report - name: Upload coverage results (to Codecov.io) - uses: codecov/codecov-action@v4 + uses: codecov/codecov-action@v5 # if: steps.vars.outputs.HAS_CODECOV_TOKEN with: token: ${{ secrets.CODECOV_TOKEN }} - file: ${{ steps.coverage.outputs.report }} + files: ${{ steps.coverage.outputs.report }} ## flags: IntegrationTests, UnitTests, ${{ steps.vars.outputs.CODECOV_FLAGS }} flags: ${{ steps.vars.outputs.CODECOV_FLAGS }} name: codecov-umbrella diff --git a/Cargo.toml b/Cargo.toml index b98b87c..20a4bd9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "platform-info" -version = "2.0.4" +version = "2.0.5" authors = ["uutils developers"] edition = "2018" description = "A simple cross-platform interface to get info about a system" diff --git a/renovate.json b/renovate.json index 39a2b6e..5db72dd 100644 --- a/renovate.json +++ b/renovate.json @@ -1,6 +1,6 @@ { "$schema": "https://docs.renovatebot.com/renovate-schema.json", "extends": [ - "config:base" + "config:recommended" ] } diff --git a/src/platform/unix.rs b/src/platform/unix.rs index e940127..73f9175 100644 --- a/src/platform/unix.rs +++ b/src/platform/unix.rs @@ -125,7 +125,8 @@ impl Debug for UTSName { target_os = "dragonfly", target_os = "freebsd", target_os = "openbsd", - target_os = "netbsd" + target_os = "netbsd", + target_os = "haiku" )))] { debug_struct = debug_struct.field("domainname", &oss_from_cstr(&self.0.domainname)); @@ -161,7 +162,8 @@ impl PartialEq for UTSName { target_os = "dragonfly", target_os = "freebsd", target_os = "openbsd", - target_os = "netbsd" + target_os = "netbsd", + target_os = "haiku" )))] { equal = equal && (self.0.domainname == other.0.domainname);