Skip to content

Commit 50d3aaf

Browse files
committed
Fix aarch64 unused import, remove git-cliff, bump to v0.1.2
1 parent 9f6f55b commit 50d3aaf

File tree

4 files changed

+6
-20
lines changed

4 files changed

+6
-20
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ on:
77

88
permissions:
99
contents: write
10-
pull-requests: read
1110

1211
env:
1312
CARGO_TERM_COLOR: always
@@ -63,26 +62,11 @@ jobs:
6362
runs-on: ubuntu-latest
6463
steps:
6564
- uses: actions/checkout@v4
66-
with:
67-
fetch-depth: 0
68-
- name: Install git-cliff
69-
uses: orhun/git-cliff-action@v4
70-
with:
71-
args: --version
72-
- name: Generate changelog
73-
id: changelog
74-
uses: orhun/git-cliff-action@v4
75-
with:
76-
args: --latest --strip header
77-
env:
78-
OUTPUT: CHANGELOG.md
79-
GITHUB_REPO: ${{ github.repository }}
8065
- uses: actions/download-artifact@v4
8166
with:
8267
path: artifacts
8368
- name: Create release
8469
uses: softprops/action-gh-release@v2
8570
with:
86-
body_path: CHANGELOG.md
71+
generate_release_notes: true
8772
files: artifacts/**/*.tar.gz
88-
generate_release_notes: false

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "siomon"
3-
version = "0.1.1"
3+
version = "0.1.2"
44
edition = "2024"
55
rust-version = "1.85"
66
description = "Linux hardware information and sensor monitoring tool"

src/collectors/cpu.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,10 @@ use std::path::Path;
33

44
use crate::db::cpu_codenames;
55
use crate::error::Result;
6+
#[cfg(any(target_arch = "x86_64", target_arch = "x86"))]
7+
use crate::model::cpu::CacheLevel;
68
use crate::model::cpu::{
7-
CacheLevel, CpuCache, CpuFeatures, CpuInfo, CpuTopology, CpuVendor, CpuVulnerability, NumaNode,
9+
CpuCache, CpuFeatures, CpuInfo, CpuTopology, CpuVendor, CpuVulnerability, NumaNode,
810
};
911
use crate::platform::{procfs, sysfs};
1012

0 commit comments

Comments
 (0)