4 Commits

Author SHA1 Message Date
Dreaded_X 11863a4919 chore(deps): Update dependencies
CI / prek (push) Failing after 1m16s
CI / cargo shear (push) Successful in 1m32s
2026-04-03 05:51:19 +02:00
Dreaded_X 20cfecbbeb chore: Disable building tests 2026-04-03 05:51:19 +02:00
Dreaded_X 46d13337b2 chore: Disable request features to reduce binary size 2026-04-03 05:51:19 +02:00
Dreaded_X d8f55f76fa chore: Setup workflows 2026-04-03 05:51:19 +02:00
5 changed files with 3 additions and 63 deletions
-6
View File
@@ -1,8 +1,2 @@
[alias] [alias]
xtask = "run --package xtask --" xtask = "run --package xtask --"
[registry]
default = "huizinga"
[registries.huizinga]
index = "sparse+https://git.huizinga.dev/api/packages/infra/cargo/"
+1
View File
@@ -7,6 +7,7 @@ on:
- "**/Cargo.lock" - "**/Cargo.lock"
schedule: schedule:
- cron: "0 0 * * *" - cron: "0 0 * * *"
workflow_call:
jobs: jobs:
audit: audit:
+2 -1
View File
@@ -4,6 +4,7 @@ on:
branches: branches:
- "*" - "*"
pull_request: pull_request:
workflow_call:
jobs: jobs:
prek: prek:
@@ -13,7 +14,7 @@ jobs:
- uses: actions/checkout@v6 - uses: actions/checkout@v6
- uses: dtolnay/rust-toolchain@nightly - uses: dtolnay/rust-toolchain@nightly
with: with:
components: rustfmt, clippy components: fmt, clippy
- uses: j178/prek-action@v2 - uses: j178/prek-action@v2
cargo-shear: cargo-shear:
-55
View File
@@ -1,55 +0,0 @@
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,7 +3,6 @@ name = "crete"
version = "0.1.0" version = "0.1.0"
edition = "2024" edition = "2024"
default-run = "crete" default-run = "crete"
publish = ["huizinga"]
[workspace] [workspace]
members = ["xtask"] members = ["xtask"]