3 Commits
Author SHA1 Message Date
Matsubaa b11d13ac61 Add build workflow to JSON schemas; refine Cargo publish step in test workflow
cargo build / build (push) Successful in 7s
cargo test / test (push) Successful in 3s
cargo test / publish (push) Successful in 4s
2026-08-22 10:09:44 -05:00
Matsubaa 2b07013ad7 Add build workflow to JSON schemas; refine Cargo publish step in test workflow
cargo build / build (push) Successful in 7s
cargo test / test (push) Successful in 6s
cargo test / publish (push) Skipped
2026-08-22 10:07:28 -05:00
Matsubaa ed0d2df9a0 Add build workflow to JSON schemas; refine Cargo publish step in test workflow
cargo test / test (push) Successful in 6s
cargo test / publish (push) Failing after 4s
2026-08-22 09:39:16 -05:00
4 changed files with 10 additions and 19 deletions
+2 -14
View File
@@ -42,19 +42,7 @@ jobs:
index = "sparse+https://git.moturpin.com/api/packages/Matsubaa/cargo/" index = "sparse+https://git.moturpin.com/api/packages/Matsubaa/cargo/"
EOF EOF
- name: Write Cargo credentials
env:
CARGO_TOKEN: ${{ secrets.CARGO_TOKEN }}
run: |
mkdir -p ~/.cargo
umask 077
cat > ~/.cargo/credentials.toml <<'EOF'
[registries.gitea]
token = "${CARGO_TOKEN}"
EOF
- name: Publish to Gitea Cargo registry - name: Publish to Gitea Cargo registry
env: env:
CARGO_REGISTRIES_GITEA_TOKEN: ${{ secrets.CARGO_TOKEN }} CARGO_REGISTRIES_GITEA_TOKEN: "Bearer ${{ secrets.CARGO_TOKEN }}"
CARGO_TOKEN: ${{ secrets.CARGO_TOKEN }} run: nix develop --extra-experimental-features "nix-command flakes" -c cargo publish --registry gitea --verbose
run: nix develop --extra-experimental-features "nix-command flakes" -c cargo publish --registry gitea --token "${CARGO_TOKEN}" --verbose
+3
View File
@@ -14,6 +14,9 @@
<Item> <Item>
<option name="path" value=".gitea/workflows/test.yml" /> <option name="path" value=".gitea/workflows/test.yml" />
</Item> </Item>
<Item>
<option name="path" value=".gitea/workflows/build.yml" />
</Item>
</list> </list>
</option> </option>
</SchemaInfo> </SchemaInfo>
Generated
+3 -3
View File
@@ -4,13 +4,13 @@ version = 4
[[package]] [[package]]
name = "kt_log" name = "kt_log"
version = "0.1.0" version = "0.1.1"
dependencies = [ dependencies = [
"log", "log",
] ]
[[package]] [[package]]
name = "log" name = "log"
version = "0.4.33" version = "0.4.34"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0ceec5bc11778974d1bcb055b18002eba7f4b3518b6a0081b3af5f21666da9ad" checksum = "f9f8bd3e56ce4dfc153cf470fffbfa98c7620958b312ca5c3a4b8d5181fd13c6"
+2 -2
View File
@@ -1,6 +1,6 @@
[package] [package]
name = "kt_log" name = "kt_log"
version = "0.1.0" version = "0.1.1"
edition = "2024" edition = "2024"
description = "A console logging library for Rust applications" description = "A console logging library for Rust applications"
license = "MIT" license = "MIT"
@@ -12,4 +12,4 @@ name = "kt_log"
path = "src/lib.rs" path = "src/lib.rs"
[dependencies] [dependencies]
log = "0.4" log = "0.4.34"