Skip to content

Commit e1baeb4

Browse files
committed
Small cleanups and fixups
- Moves bins into standard `src/bin` folder - Adds a basic test (TODO: doesn't work on gh-actions CI) - Reformat with new `rustfmt.toml`, rearrange some code, add some comments - Fix wrong error message for `GetVersionExA` - `cargo update`
1 parent cc29e9e commit e1baeb4

File tree

9 files changed

+716
-520
lines changed

9 files changed

+716
-520
lines changed

.github/workflows/blondie.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,9 @@ jobs:
4343
- name: Build
4444
run: cargo build --release --all-features --verbose
4545

46-
- name: Run tests
47-
run: cargo test --release --all-features --verbose -- --nocapture
46+
# TODO: Doesn't record any tracing events on github-actions
47+
# - name: Run tests
48+
# run: cargo test --release --all-features --verbose -- --nocapture
4849

4950
docs:
5051
runs-on: windows-latest

.github/workflows/clippy.yml

+1-18
Original file line numberDiff line numberDiff line change
@@ -13,23 +13,6 @@ jobs:
1313
- uses: actions/checkout@v2
1414

1515
- run: rustup component add clippy
16-
17-
# Workaround from https://github.com/actions-rs/clippy-check/issues/2#issuecomment-807878478
18-
# - name: Check workflow permissions
19-
# id: check_permissions
20-
# uses: scherermichael-oss/[email protected]
21-
# with:
22-
# required-permission: write
23-
# env:
24-
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
25-
# - name: Run clippy action to produce annotations
26-
# uses: actions-rs/clippy-check@v1
27-
# if: steps.check_permissions.outputs.has-permission
28-
# with:
29-
# args: --all-targets -- -D warnings
30-
# token: ${{ secrets.GITHUB_TOKEN }}
31-
# - name: Run clippy manually without annotations
32-
# if: ${{ !steps.check_permissions.outputs.has-permission }}
33-
# run: cargo clippy --all-targets -- -D warnings
16+
3417
- name: Run clippy manually without annotations
3518
run: cargo clippy --all-targets -- -D warnings

0 commit comments

Comments
 (0)