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
38 changes: 25 additions & 13 deletions .github/renovate.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",

"extends": ["config:recommended", ":disableDependencyDashboard"],

"labels": ["dependencies"],
"extends": [
"config:recommended",
":disableDependencyDashboard"
],
"labels": [
"dependencies"
],
"rangeStrategy": "bump",
"rebaseWhen": "conflicted",
"prConcurrentLimit": 5,
Expand All @@ -12,27 +15,36 @@
"packageRules": [
{
"description": "Group all Rust crates into one PR",
"matchManagers": ["cargo"],
"matchManagers": [
"cargo"
],
"groupName": "Rust dependencies"
},

{
"description": "Automerge patch updates",
"matchUpdateTypes": ["patch"],
"matchUpdateTypes": [
"patch"
],
"automerge": true,
"automergeType": "pr"
},

{
"description": "Require manual review for minor and major updates",
"matchUpdateTypes": ["minor", "major"],
"matchUpdateTypes": [
"minor",
"major"
],
"automerge": false
},

{
"description": "Allow Rust dependency updates throughout the week",
"matchManagers": ["cargo"],
"schedule": ["at any time"]
"matchManagers": [
"cargo"
],
"schedule": [
"at any time"
]
}
]
],
"ignoreTests": false
}
47 changes: 47 additions & 0 deletions .github/workflows/cross-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: Cross Platform Cargo Check

on:
workflow_dispatch:
# pull_request:
# push:
# branches: [main, dev]

permissions:
contents: read

env:
HUSKY: 0

jobs:
cargo-check:
strategy:
fail-fast: false
matrix:
include:
- os: macos-latest
target: aarch64-apple-darwin
- os: windows-latest
target: x86_64-pc-windows-msvc
- os: ubuntu-latest
target: x86_64-unknown-linux-gnu
runs-on: ${{ matrix.os }}
steps:
- name: Checkout Repository
uses: actions/checkout@v6

- name: Install Rust Stable
uses: dtolnay/rust-toolchain@stable
with:
targets: ${{ matrix.target }}

- name: Add Rust Target
run: rustup target add ${{ matrix.target }}

- name: Rust Cache
uses: Swatinem/rust-cache@v2
with:
save-if: false

- name: Cargo Check
run: |
cargo check --target ${{ matrix.target }} --workspace --all-features