5 Commits

Author SHA1 Message Date
Dreaded_X 35805f4581 chore(deps): Update dependencies
Audit / cargo audit (push) Successful in 3m38s
CI / prek (push) Successful in 2m29s
CI / cargo shear (push) Successful in 1m33s
Release-plz / Release-plz release (push) Failing after 2m43s
Release-plz / Release-plz PR (push) Failing after 2m29s
2026-04-03 06:15:04 +02:00
Dreaded_X 73b18c68f6 chore: Disable building tests 2026-04-03 06:15:04 +02:00
Dreaded_X 68df599986 chore: Disable request features to reduce binary size 2026-04-03 06:15:04 +02:00
Dreaded_X a812be859c chore: Setup workflows 2026-04-03 06:15:03 +02:00
Dreaded_X df87e9a19d chore: Publish to gitea registry 2026-04-03 06:15:03 +02:00
5 changed files with 63 additions and 3 deletions
+6
View File
@@ -1,2 +1,8 @@
[alias]
xtask = "run --package xtask --"
[registry]
default = "huizinga"
[registries.huizinga]
index = "sparse+https://git.huizinga.dev/api/packages/infra/cargo/"
-1
View File
@@ -7,7 +7,6 @@ on:
- "**/Cargo.lock"
schedule:
- cron: "0 0 * * *"
workflow_call:
jobs:
audit:
+1 -2
View File
@@ -4,7 +4,6 @@ on:
branches:
- "*"
pull_request:
workflow_call:
jobs:
prek:
@@ -14,7 +13,7 @@ jobs:
- uses: actions/checkout@v6
- uses: dtolnay/rust-toolchain@nightly
with:
components: fmt, clippy
components: rustfmt, clippy
- uses: j178/prek-action@v2
cargo-shear:
+55
View File
@@ -0,0 +1,55 @@
name: Release-plz
on:
push:
branches:
- main
jobs:
# Release unpublished packages.
release-plz-release:
name: Release-plz release
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: read
steps:
- &checkout
name: Checkout repository
uses: actions/checkout@v6
with:
fetch-depth: 0
persist-credentials: false
- &install-rust
name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
- name: Run release-plz
uses: release-plz/action@v0.5
with:
command: release
forge: gitea
env:
GITHUB_TOKEN: ${{ secrets.GITEA_TOKEN }}
CARGO_REGISTRY_TOKEN: ${{ secrets.REGISTRY_TOKEN }}
# Create a PR with the new versions and changelog, preparing the next release.
release-plz-pr:
name: Release-plz PR
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
concurrency:
group: release-plz-${{ github.ref }}
cancel-in-progress: false
steps:
- *checkout
- *install-rust
- name: Run release-plz
uses: release-plz/action@v0.5
with:
command: release-pr
forge: gitea
env:
GITHUB_TOKEN: ${{ secrets.GITEA_TOKEN }}
CARGO_REGISTRY_TOKEN: ${{ secrets.REGISTRY_TOKEN }}
+1
View File
@@ -3,6 +3,7 @@ name = "crete"
version = "0.1.0"
edition = "2024"
default-run = "crete"
publish = ["huizinga"]
[workspace]
members = ["xtask"]