Template
Merge in the Release-Plz Setup (#6)
Lint & Build / Linting (push) Successful in 1m23s
Lint & Build / Build (push) Successful in 1m1s
Lint & Build / Test (push) Successful in 1m35s
Lint & Build / Cross-Build-Windows (push) Successful in 2m6s
Lint & Build / Cross-Build-Linux (push) Successful in 2m12s
Lint & Build / Cross-Build-MacOS (push) Successful in 2m48s
Lint & Build / Linting (push) Successful in 1m23s
Lint & Build / Build (push) Successful in 1m1s
Lint & Build / Test (push) Successful in 1m35s
Lint & Build / Cross-Build-Windows (push) Successful in 2m6s
Lint & Build / Cross-Build-Linux (push) Successful in 2m12s
Lint & Build / Cross-Build-MacOS (push) Successful in 2m48s
This Pull Request will setup the process of Automatic release of everything in the workspace. Adds in a README.md file. --------- Co-authored-by: ci-bot <bot@email.melfely.com> Reviewed-on: #6 Co-authored-by: Melfely <bug362@outlook.com>
This commit was merged in pull request #6.
This commit is contained in:
@@ -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()
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "example_lib"
|
||||
version = "0.1.0"
|
||||
version = "0.1.1"
|
||||
edition = "2024"
|
||||
|
||||
[dependencies]
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user