From 316a3c591d2feeee1aa7948c483db5863ae89c6e Mon Sep 17 00:00:00 2001 From: melfey Date: Thu, 10 Sep 2026 18:47:25 -0500 Subject: [PATCH 01/16] ci: Added Release-Plz CI workflow. --- .gitea/workflows/release-plz.yml | 68 ++++++++++++++++++++++++++++++++ 1 file changed, 68 insertions(+) create mode 100644 .gitea/workflows/release-plz.yml diff --git a/.gitea/workflows/release-plz.yml b/.gitea/workflows/release-plz.yml new file mode 100644 index 0000000..2911966 --- /dev/null +++ b/.gitea/workflows/release-plz.yml @@ -0,0 +1,68 @@ +name: Release-plz + +on: + push: +# Comment out branch restrictions until we are closer to done +# branches: +# - [main, master] + +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 + regsitry: gitea + env: + GITHUB_TOKEN: ${{ secrets.GITEA_TOKEN }} + CARGO_REGISTRIES_GITEA_TOKEN: ${{ secrets.CARGO_REGISTRIES_GITEA_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 + regsitry: gitea + env: + GITHUB_TOKEN: ${{ secrets.GITEA_TOKEN }} + CARGO_REGISTRIES_GITEA_TOKEN: ${{ secrets.CARGO_REGISTRIES_GITEA_TOKEN }} -- 2.54.0 From b3d5f4ef18a3ffca21e9358d38e9bf2abde3bff7 Mon Sep 17 00:00:00 2001 From: melfey Date: Thu, 10 Sep 2026 18:54:03 -0500 Subject: [PATCH 02/16] ci: Removed Github token from the run. --- .gitea/workflows/release-plz.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.gitea/workflows/release-plz.yml b/.gitea/workflows/release-plz.yml index 2911966..869e33e 100644 --- a/.gitea/workflows/release-plz.yml +++ b/.gitea/workflows/release-plz.yml @@ -36,7 +36,6 @@ jobs: forge: gitea regsitry: gitea env: - GITHUB_TOKEN: ${{ secrets.GITEA_TOKEN }} CARGO_REGISTRIES_GITEA_TOKEN: ${{ secrets.CARGO_REGISTRIES_GITEA_TOKEN }} # Create a PR with the new versions and changelog, preparing the next release. @@ -64,5 +63,4 @@ jobs: forge: gitea regsitry: gitea env: - GITHUB_TOKEN: ${{ secrets.GITEA_TOKEN }} CARGO_REGISTRIES_GITEA_TOKEN: ${{ secrets.CARGO_REGISTRIES_GITEA_TOKEN }} -- 2.54.0 From a1aaf5cd7e42c6c6884f303c7494416772def0cf Mon Sep 17 00:00:00 2001 From: melfey Date: Thu, 10 Sep 2026 19:31:37 -0500 Subject: [PATCH 03/16] ci: Added gh tool install. --- .gitea/workflows/release-plz.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.gitea/workflows/release-plz.yml b/.gitea/workflows/release-plz.yml index 869e33e..d280da8 100644 --- a/.gitea/workflows/release-plz.yml +++ b/.gitea/workflows/release-plz.yml @@ -29,6 +29,12 @@ jobs: name: Install Rust toolchain uses: dtolnay/rust-toolchain@stable + - &install-gh + name: Install gh cli tool + run: | + apt-get update + apt-get install gh -y + - name: Run release-plz uses: release-plz/action@v0.5 with: @@ -36,6 +42,7 @@ jobs: forge: gitea regsitry: gitea env: + GITHUB_TOKEN: ${{ secrets.GITEA_TOKEN }} CARGO_REGISTRIES_GITEA_TOKEN: ${{ secrets.CARGO_REGISTRIES_GITEA_TOKEN }} # Create a PR with the new versions and changelog, preparing the next release. @@ -55,6 +62,7 @@ jobs: - *checkout - *install-rust + - *install-gh - name: Run release-plz uses: release-plz/action@v0.5 @@ -63,4 +71,5 @@ jobs: forge: gitea regsitry: gitea env: + GITHUB_TOKEN: ${{ secrets.GITEA_TOKEN }} CARGO_REGISTRIES_GITEA_TOKEN: ${{ secrets.CARGO_REGISTRIES_GITEA_TOKEN }} -- 2.54.0 From bbca93470c4aaa4974b2f1b4cc19a53424b7ef89 Mon Sep 17 00:00:00 2001 From: melfey Date: Thu, 10 Sep 2026 19:36:18 -0500 Subject: [PATCH 04/16] ci: replaces v0.5 with v0.4 (this working is a hell of a stretch) --- .gitea/workflows/release-plz.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/release-plz.yml b/.gitea/workflows/release-plz.yml index d280da8..5647235 100644 --- a/.gitea/workflows/release-plz.yml +++ b/.gitea/workflows/release-plz.yml @@ -36,7 +36,7 @@ jobs: apt-get install gh -y - name: Run release-plz - uses: release-plz/action@v0.5 + uses: release-plz/action@v0.4 with: command: release forge: gitea @@ -65,7 +65,7 @@ jobs: - *install-gh - name: Run release-plz - uses: release-plz/action@v0.5 + uses: release-plz/action@v0.4 with: command: release-pr forge: gitea -- 2.54.0 From a70cbca5a909f7cdab45edf9647c9619d9e83d5a Mon Sep 17 00:00:00 2001 From: melfey Date: Thu, 10 Sep 2026 20:00:06 -0500 Subject: [PATCH 05/16] ci: Change from release-plz action to cli The action currently only supports github (I think) while the CLI tool claims to support gitea (the action also does...) --- .gitea/workflows/release-plz.yml | 47 ++++++++++++++------------------ 1 file changed, 21 insertions(+), 26 deletions(-) diff --git a/.gitea/workflows/release-plz.yml b/.gitea/workflows/release-plz.yml index 5647235..ab70161 100644 --- a/.gitea/workflows/release-plz.yml +++ b/.gitea/workflows/release-plz.yml @@ -28,24 +28,24 @@ jobs: - &install-rust name: Install Rust toolchain uses: dtolnay/rust-toolchain@stable - - - &install-gh - name: Install gh cli tool - run: | - apt-get update - apt-get install gh -y - - - name: Run release-plz - uses: release-plz/action@v0.4 + + - &install-cargo-semver + name: Install Cargo SemVer Checks + uses: taiki-e/install-action@fa23953489c080190314742a9b907f8e97c6767c # v2.87.10 with: - command: release - forge: gitea - regsitry: gitea - env: - GITHUB_TOKEN: ${{ secrets.GITEA_TOKEN }} - CARGO_REGISTRIES_GITEA_TOKEN: ${{ secrets.CARGO_REGISTRIES_GITEA_TOKEN }} + tool: cargo-semver-checks - # Create a PR with the new versions and changelog, preparing the next release. + - &install-release-plz + name: Install release-plz + uses: taiki-e/install-action@fa23953489c080190314742a9b907f8e97c6767c # v2.87.10 + with: + tool: release-plz + + - name: Run release-plz release + run: | + release-plz release --forge gitea --git-token ${{ secrets.GITEA_TOKEN }} --registry gitea --token ${{ secrets.CARGO_REGISTRIES_GITEA_TOKEN }} + + # Create a PR with the new versions and changelog, preparing the next releases release-plz-pr: name: Release-plz PR runs-on: ubuntu-latest @@ -62,14 +62,9 @@ jobs: - *checkout - *install-rust - - *install-gh + - *install-cargo-semver + - *install-release-plz - - name: Run release-plz - uses: release-plz/action@v0.4 - with: - command: release-pr - forge: gitea - regsitry: gitea - env: - GITHUB_TOKEN: ${{ secrets.GITEA_TOKEN }} - CARGO_REGISTRIES_GITEA_TOKEN: ${{ secrets.CARGO_REGISTRIES_GITEA_TOKEN }} + - name: Run release-plz release-pr + run: | + release-plz release-pr --forge gitea --git-token ${{ secrets.GITEA_TOKEN }} --registry gitea -- 2.54.0 From 8abb2f210b80336fff23d2d6c3fb2ae1b37f64cc Mon Sep 17 00:00:00 2001 From: melfey Date: Thu, 10 Sep 2026 20:05:24 -0500 Subject: [PATCH 06/16] fix: wrong url in the config.toml cargo registry --- .cargo/config.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.cargo/config.toml b/.cargo/config.toml index 4bf0f90..f459046 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -1,2 +1,2 @@ [registries.gitea] -index = "sparse+https://gitea.example.com/api/packages/crates/cargo/" +index = "sparse+https://gitea.melfely.com/api/packages/crates/cargo/" -- 2.54.0 From 77cfc8bed9f2ad34c7e28edf2bdf8b3e746ef382 Mon Sep 17 00:00:00 2001 From: melfey Date: Thu, 10 Sep 2026 20:12:55 -0500 Subject: [PATCH 07/16] ci: added git user and correct cargo repo token signature --- .gitea/workflows/release-plz.yml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/release-plz.yml b/.gitea/workflows/release-plz.yml index ab70161..91ebe00 100644 --- a/.gitea/workflows/release-plz.yml +++ b/.gitea/workflows/release-plz.yml @@ -18,6 +18,13 @@ jobs: pull-requests: read steps: + + - &setup-git-user + name: Config Git User + run: | + git config --global user.name "ci-bot" + git config --global user.email "bot@email.melfely.com" + - &checkout name: Checkout repository uses: actions/checkout@v6 @@ -41,9 +48,11 @@ jobs: with: tool: release-plz + + - name: Run release-plz release run: | - release-plz release --forge gitea --git-token ${{ secrets.GITEA_TOKEN }} --registry gitea --token ${{ secrets.CARGO_REGISTRIES_GITEA_TOKEN }} + release-plz release --forge gitea --git-token ${{ secrets.GITEA_TOKEN }} --registry gitea --token "Bearer ${{ secrets.CARGO_REGISTRIES_GITEA_TOKEN }}" # Create a PR with the new versions and changelog, preparing the next releases release-plz-pr: @@ -59,7 +68,7 @@ jobs: cancel-in-progress: false steps: - + - *setup-git-user - *checkout - *install-rust - *install-cargo-semver -- 2.54.0 From bb37eb9d94960db5123d9f310788f6a7c2d33065 Mon Sep 17 00:00:00 2001 From: melfey Date: Thu, 10 Sep 2026 20:18:36 -0500 Subject: [PATCH 08/16] feat: added pub fn sub() This takes in two u64, and returns the difference. TESTING WORKFLOWS --- example_lib/src/lib.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/example_lib/src/lib.rs b/example_lib/src/lib.rs index b93cf3f..9628316 100644 --- a/example_lib/src/lib.rs +++ b/example_lib/src/lib.rs @@ -2,6 +2,10 @@ pub fn add(left: u64, right: u64) -> u64 { left + right } +pub fn sub(left: u64, right: u64) -> u64 { + left - right +} + #[cfg(test)] mod tests { use super::*; @@ -10,5 +14,7 @@ mod tests { fn it_works() { let result = add(2, 2); assert_eq!(result, 4); + let result = sub(2, 2); + assert_eq!(result, 0); } } -- 2.54.0 From ae39643568d9608445080dfe74151f5cb9f58759 Mon Sep 17 00:00:00 2001 From: melfey Date: Thu, 10 Sep 2026 20:35:29 -0500 Subject: [PATCH 09/16] chore(example_lib): release v0.1.1 Signed-off-by: melfey --- Cargo.lock | 2 +- example_lib/CHANGELOG.md | 14 ++++++++++++++ example_lib/Cargo.toml | 2 +- 3 files changed, 16 insertions(+), 2 deletions(-) create mode 100644 example_lib/CHANGELOG.md diff --git a/Cargo.lock b/Cargo.lock index 3bc11c1..bcbdc71 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -8,4 +8,4 @@ version = "0.1.0" [[package]] name = "example_lib" -version = "0.1.0" +version = "0.1.1" diff --git a/example_lib/CHANGELOG.md b/example_lib/CHANGELOG.md new file mode 100644 index 0000000..eb64fb6 --- /dev/null +++ b/example_lib/CHANGELOG.md @@ -0,0 +1,14 @@ +# Changelog + +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +## [Unreleased] + +## [0.1.1](https://gitea.melfely.com/melfely/rust_workflow_template/compare/example_lib-v0.1.0...example_lib-v0.1.1) - 2026-09-11 + +### Added + +- added pub fn sub() diff --git a/example_lib/Cargo.toml b/example_lib/Cargo.toml index 2794f7e..b3d27cf 100644 --- a/example_lib/Cargo.toml +++ b/example_lib/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "example_lib" -version = "0.1.0" +version = "0.1.1" edition = "2024" [dependencies] -- 2.54.0 From 135ea657fa974a580ce383bce8b5a42901c25f52 Mon Sep 17 00:00:00 2001 From: melfey Date: Thu, 10 Sep 2026 20:44:15 -0500 Subject: [PATCH 10/16] ci: added repository url replacement --- .gitea/workflows/release-plz.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.gitea/workflows/release-plz.yml b/.gitea/workflows/release-plz.yml index 91ebe00..7240a06 100644 --- a/.gitea/workflows/release-plz.yml +++ b/.gitea/workflows/release-plz.yml @@ -74,6 +74,18 @@ jobs: - *install-cargo-semver - *install-release-plz + - name: Configure git remote with token + run: | + OWNER="${GITEA_REPOSITORY_OWNER:-${GITEA_REPO_OWNER}}" + REPO="${GITEA_REPOSITORY_NAME:-${GITEA_REPO_NAME}}" + HOST="${GITEA_HOST:-gitea.melfely.com}" + git remote set-url origin "https://git:${GITEA_TOKEN}@${HOST}/${OWNER}/${REPO}.git" + env: + GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }} + GITEA_HOST: ${{ secrets.GITEA_HOST }} + GITEA_REPOSITORY_OWNER: ${{ gitea.repository.owner }} + GITEA_REPOSITORY_NAME: ${{ gitea.repository.name }} + - name: Run release-plz release-pr run: | release-plz release-pr --forge gitea --git-token ${{ secrets.GITEA_TOKEN }} --registry gitea -- 2.54.0 From c365c2b9e5516f5b739b8a87f0aef45d30a62ed9 Mon Sep 17 00:00:00 2001 From: melfey Date: Thu, 10 Sep 2026 20:58:06 -0500 Subject: [PATCH 11/16] ci: attempting to use manual git credential config --- .gitea/workflows/release-plz.yml | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/.gitea/workflows/release-plz.yml b/.gitea/workflows/release-plz.yml index 7240a06..75fdd68 100644 --- a/.gitea/workflows/release-plz.yml +++ b/.gitea/workflows/release-plz.yml @@ -74,17 +74,12 @@ jobs: - *install-cargo-semver - *install-release-plz - - name: Configure git remote with token + - name: install git + + - name: Fill Credentials run: | - OWNER="${GITEA_REPOSITORY_OWNER:-${GITEA_REPO_OWNER}}" - REPO="${GITEA_REPOSITORY_NAME:-${GITEA_REPO_NAME}}" - HOST="${GITEA_HOST:-gitea.melfely.com}" - git remote set-url origin "https://git:${GITEA_TOKEN}@${HOST}/${OWNER}/${REPO}.git" - env: - GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }} - GITEA_HOST: ${{ secrets.GITEA_HOST }} - GITEA_REPOSITORY_OWNER: ${{ gitea.repository.owner }} - GITEA_REPOSITORY_NAME: ${{ gitea.repository.name }} + git config --global credential.helper store + echo "https://ci-bot:${{ secret.GITEA_TOKEN }}@gitea.melfely.com" > ~/.git-credentials - name: Run release-plz release-pr run: | -- 2.54.0 From 782c9166c21e3fdc668f9543f2768d682f08c4cf Mon Sep 17 00:00:00 2001 From: melfey Date: Thu, 10 Sep 2026 21:02:58 -0500 Subject: [PATCH 12/16] ci: removes the uneeded step "install git" --- .gitea/workflows/release-plz.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.gitea/workflows/release-plz.yml b/.gitea/workflows/release-plz.yml index 75fdd68..173b982 100644 --- a/.gitea/workflows/release-plz.yml +++ b/.gitea/workflows/release-plz.yml @@ -74,8 +74,6 @@ jobs: - *install-cargo-semver - *install-release-plz - - name: install git - - name: Fill Credentials run: | git config --global credential.helper store -- 2.54.0 From 3749f6b9ad796b33d36b5932844982012841049e Mon Sep 17 00:00:00 2001 From: ci-bot Date: Fri, 11 Sep 2026 14:51:37 +0000 Subject: [PATCH 13/16] chore(example_bin): release v0.1.1 Signed-off-by: ci-bot --- Cargo.lock | 2 +- example_bin/CHANGELOG.md | 14 ++++++++++++++ example_bin/Cargo.toml | 2 +- 3 files changed, 16 insertions(+), 2 deletions(-) create mode 100644 example_bin/CHANGELOG.md diff --git a/Cargo.lock b/Cargo.lock index 1f07418..c06043a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4,7 +4,7 @@ version = 4 [[package]] name = "example_bin" -version = "0.1.0" +version = "0.1.1" dependencies = [ "example_lib", ] diff --git a/example_bin/CHANGELOG.md b/example_bin/CHANGELOG.md new file mode 100644 index 0000000..f8f4407 --- /dev/null +++ b/example_bin/CHANGELOG.md @@ -0,0 +1,14 @@ +# Changelog + +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +## [Unreleased] + +## [0.1.1](https://gitea.melfely.com/melfely/rust_workflow_template/compare/example_bin-v0.1.0...example_bin-v0.1.1) - 2026-09-11 + +### Added + +- bin example now references the local example_lib diff --git a/example_bin/Cargo.toml b/example_bin/Cargo.toml index 2f3ebc2..f43e26e 100644 --- a/example_bin/Cargo.toml +++ b/example_bin/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "example_bin" -version = "0.1.0" +version = "0.1.1" edition = "2024" [dependencies] -- 2.54.0 From 214e8f7f043f3d88b1f0a16a121883709c22d464 Mon Sep 17 00:00:00 2001 From: Melfely Date: Fri, 11 Sep 2026 09:49:27 -0500 Subject: [PATCH 14/16] ci: Revert previous. Fixed "secret." to "secrets." for git credentials --- .gitea/workflows/release-plz.yml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.gitea/workflows/release-plz.yml b/.gitea/workflows/release-plz.yml index 92e475a..bfd3e92 100644 --- a/.gitea/workflows/release-plz.yml +++ b/.gitea/workflows/release-plz.yml @@ -51,12 +51,8 @@ jobs: - name: Run release-plz release - env: - GIT_TOKEN: ${{ secrets.GITEA_TOKEN }} - CARGO_TOKEN: "Bearer ${{ secrets.CARGO_REGISTRIES_GITEA_TOKEN }}" run: | - release-plz release --forge gitea --git-token $GIT_TOKEN --registry gitea --token CARGO_TOKEN - + release-plz release --forge gitea --git-token ${{ secrets.GITEA_TOKEN }} --registry gitea --token "Bearer ${{ secrets.CARGO_REGISTRIES_GITEA_TOKEN }}" # Create a PR with the new versions and changelog, preparing the next releases release-plz-pr: name: Release-plz PR @@ -80,7 +76,7 @@ jobs: - name: Fill Credentials run: | git config --global credential.helper store - echo "https://ci-bot:${{ secret.GITEA_TOKEN }}@gitea.melfely.com" > ~/.git-credentials + echo "https://ci-bot:${{ secrets.GITEA_TOKEN }}@gitea.melfely.com" > ~/.git-credentials - name: Run release-plz release-pr run: | -- 2.54.0 From 72575b2d24eb60abee9fd8cf621714befa862a58 Mon Sep 17 00:00:00 2001 From: Melfely Date: Fri, 11 Sep 2026 11:16:16 -0500 Subject: [PATCH 15/16] docs: Added a fairly substantional readme file. This readme file documents how to use this repository as a template in a productive manner. --- README.md | 58 +++++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 56 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b817760..ddb202f 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,57 @@ -# rust_workflow_template +# Rust Workspace Template with Pre-Configured Workflows + +This Setup does ALOT of checking and analyis before letting you push to main/master. Requiring a massive amount of Cross-Platform support. + +## Why? + +This automates everything from linting, to CI/CD. This allows us to just work on projects, as long as we follow the rules, without having to worry about deployement. + +Fully automating out an entire departement in most companies called DevOps. + +**You just need to pay attention to the following** + +## How to use properly. + +This is an EXAMPLE workspace, look around at the how the Cargo.Toml files are setup, they are important. Once you get comfortable, delete the existing stuff, and start making your own. + +A few major points. + +### Git Commits + +This uses a tool to auto generate change logs and version indexing. As LONG as you feed it good data, one of such requirements are good commits + +This project **REQUIRES** you to use the [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/) format. This allows for a whole HOST of good automated tooling. That you will love, in comparison to doing it all by hand. WHILE adding a bit of a requirement to making good split up commits. + +Any commits **not** following this standard should be rejected or reworded. If a commit is *to large* or some other problem to not fit the mold. Then change the commit, do **NOT** break the rules. + +### Gitea Registry + +We don't publish to crates.io, instead we publish to the pre-configured gitea crates repo. Which keeps everything private. Does have the disadvantage of reqiuring a bit of extra work to use. + +In the example_bin Cargo.toml file you can see + +```toml +example_lib = { version = "0.1.1", path = "../example_lib", registry = "gitea" } +``` + +This line is VERY important, it uses a PATH based dependency to find the project. Which allows for it to be live. + +Note that the version number will need to be updated, along WITH the fact that you need to make sure that it uses the "gitea" regsitry here as well. That is where cargo will expect to find it at later. + +### Workspace + +in the root level Cargo.toml is the workspace config +```toml +[workspace] +resolver = "3" +members = ["example_bin", "example_lib"] +``` + +notice how it LISTS all the crates that are members of the workspace? That is important! + +### Cargo Lock files + +All of the workflow tools remotely use --locked versions of cargo build and check, so therefore it **CANNOT** update the lock files. + +The lock files are what versions of a package you are using when it was built. This is all about the philophsy of [reproducible builds](https://reproducible-builds.org/) -Rust Cargo Template with CI/CD Setup. \ No newline at end of file -- 2.54.0 From f8dff4f3c17a9e1271a6253b40f537a6b6c612a6 Mon Sep 17 00:00:00 2001 From: Melfely Date: Fri, 11 Sep 2026 11:26:14 -0500 Subject: [PATCH 16/16] ci: Changed Release workflows to only run on master/main --- .gitea/workflows/release-plz.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/release-plz.yml b/.gitea/workflows/release-plz.yml index bfd3e92..6410660 100644 --- a/.gitea/workflows/release-plz.yml +++ b/.gitea/workflows/release-plz.yml @@ -2,9 +2,8 @@ name: Release-plz on: push: -# Comment out branch restrictions until we are closer to done -# branches: -# - [main, master] + branches: + - [main, master] jobs: -- 2.54.0