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

[pull] master from gentoo90:master #24

Merged
merged 3 commits into from
Jan 12, 2025
Merged
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
18 changes: 13 additions & 5 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -26,20 +26,20 @@ jobs:
env:
RUST_BACKTRACE: full
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Install rust-${{ matrix.channel }}
uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.channel }}
profile: minimal
override: true
- name: Cache cargo registry
uses: actions/cache@v2
uses: actions/cache@v4
continue-on-error: true
with:
path: |
~/.cargo/registry
~/.cargo/git
~/.cargo/registry/index/
~/.cargo/registry/cache/
key: ${{ runner.os }}-cargo-${{ matrix.channel }}
restore-keys: |
${{ runner.os }}-cargo-${{ matrix.channel }}
@@ -131,7 +131,15 @@ jobs:
with:
command: update
args: --package num-traits --precise 0.2.18
- name: Check formatting
- name: Setup Taplo
if: matrix.lint
uses: uncenter/setup-taplo@v1
with:
version: "0.8.1"
- name: Check Cargo.toml formatting
if: matrix.lint
run: taplo fmt --check --diff
- name: Check sourcecode formatting
if: matrix.lint
uses: actions-rs/cargo@v1
with:
4 changes: 4 additions & 0 deletions .taplo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
include = [".taplo.toml", "Cargo.toml"]

[formatting]
indent_string = " "
6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -13,14 +13,14 @@ categories = ["api-bindings", "os::windows-apis"]

[dependencies]
cfg-if = "1.0"
windows-sys = {version = "0.48", features = [
windows-sys = { version = "0.48", features = [
"Win32_Foundation",
"Win32_System_Time",
"Win32_System_Registry",
"Win32_Security",
"Win32_Storage_FileSystem",
"Win32_System_Diagnostics_Debug"
]}
"Win32_System_Diagnostics_Debug",
] }
chrono = { version = "0.4.6", optional = true }
serde = { version = "1", optional = true }

Loading