Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
11863a4919
|
|||
|
20cfecbbeb
|
|||
|
46d13337b2
|
|||
|
d8f55f76fa
|
@@ -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/"
|
|
||||||
|
|||||||
@@ -7,6 +7,7 @@ on:
|
|||||||
- "**/Cargo.lock"
|
- "**/Cargo.lock"
|
||||||
schedule:
|
schedule:
|
||||||
- cron: "0 0 * * *"
|
- cron: "0 0 * * *"
|
||||||
|
workflow_call:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
audit:
|
audit:
|
||||||
|
|||||||
@@ -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:
|
||||||
|
|||||||
@@ -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 }}
|
|
||||||
@@ -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"]
|
||||||
|
|||||||
Reference in New Issue
Block a user