Skip to content
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion .cargo/audit.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[advisories]
ignore = ["RUSTSEC-2024-0320", "RUSTSEC-2024-0436", "RUSTSEC-2025-0057", "RUSTSEC-2025-0046", "RUSTSEC-2025-0118"]
ignore = ["RUSTSEC-2024-0320", "RUSTSEC-2024-0436", "RUSTSEC-2025-0057", "RUSTSEC-2025-0046", "RUSTSEC-2025-0118", "RUSTSEC-2025-0057"]
informational_warnings = ["unmaintained"] # warn for categories of informational advisories
severity_threshold = "low" # CVSS severity ("none", "low", "medium", "high", "critical")
50 changes: 26 additions & 24 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,25 +22,10 @@ concurrency:

jobs:
check:
name: Check ${{ matrix.package.name }}
name: Check
runs-on: ubuntu-latest
permissions:
contents: read
strategy:
matrix:
package:
- name: yozefu-lib
command: cargo check --locked --package yozefu-lib
- name: yozefu-app
command: cargo check --locked --package yozefu-app
- name: yozefu-command
command: cargo check --locked --package yozefu-command
- name: yozefu-tui
command: cargo check --locked --package yozefu-tui
- name: yozefu-wasm-types
command: cargo check --locked --package yozefu-wasm-types
- name: yozefu
command: cargo run --locked -- --version
steps:
- uses: actions/checkout@v5
with:
Expand All @@ -52,7 +37,24 @@ jobs:
with:
cache-all-crates: true
- name: Run cargo check
run: ${{ matrix.package.command }}
run: cargo check --locked

hack:
name: Cargo hack
needs: check
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@v5
with:
persist-credentials: false
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
- uses: Swatinem/rust-cache@v2
- uses: taiki-e/install-action@cargo-hack
- run: cargo hack check --feature-powerset --no-dev-deps

build:
name: Build w/o features
Expand Down Expand Up @@ -89,22 +91,22 @@ jobs:
platforms:
- os: macos-15
target: aarch64-apple-darwin
features: ""
features: "--features gssapi-vendored,libz-static,ssl-vendored"
- os: macos-15-intel
target: x86_64-apple-darwin
features: ""
features: "--features gssapi-vendored,libz-static,ssl-vendored"
- os: ubuntu-latest
target: x86_64-unknown-linux-gnu
features: ""
features: "--features gssapi-vendored,libz-static,ssl-vendored"
- os: ubuntu-24.04-arm
target: aarch64-unknown-linux-gnu
features: ""
features: "--features gssapi-vendored,libz-static,ssl-vendored"
- os: windows-latest
target: x86_64-pc-windows-gnu
features: "--no-default-features"
- os: windows-latest
target: x86_64-pc-windows-msvc
features: "--no-default-features --features ssl-vendored"
features: "--no-default-features --features ssl-vendored,libz-static"
steps:
- uses: actions/checkout@v5
with:
Expand Down Expand Up @@ -342,9 +344,9 @@ jobs:
strategy:
matrix:
platforms:
- os: macos-14
- os: macos-15
target: aarch64-apple-darwin
- os: macos-14-large
- os: macos-15-large
target: x86_64-apple-darwin
- os: ubuntu-latest
target: x86_64-unknown-linux-gnu
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,16 +70,16 @@ jobs:
platforms:
- os: macos-15
target: aarch64-apple-darwin
features: ""
features: "--features gssapi-vendored,libz-static,ssl-vendored"
- os: macos-15-intel
target: x86_64-apple-darwin
features: ""
features: "--features gssapi-vendored,libz-static,ssl-vendored"
- os: ubuntu-latest
target: x86_64-unknown-linux-gnu
features: ""
features: "--features gssapi-vendored,libz-static,ssl-vendored"
- os: ubuntu-24.04-arm
target: aarch64-unknown-linux-gnu
features: ""
features: "--features gssapi-vendored,libz-static,ssl-vendored"
- os: windows-latest
target: x86_64-pc-windows-gnu
features: "--no-default-features"
Expand Down
Loading
Loading