Skip to content

Commit

Permalink
Merge pull request #100 from semiotic-ai/ci_release_please
Browse files Browse the repository at this point in the history
ci: Adding release-please
  • Loading branch information
aasseman authored Jun 12, 2023
2 parents 0f33a1b + 90a115c commit 9819c8b
Show file tree
Hide file tree
Showing 5 changed files with 41 additions and 2 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/release_please.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
on:
push:
branches:
- main

permissions:
contents: write
pull-requests: write

name: release-please

jobs:
release-please:
runs-on: ubuntu-latest
steps:
- uses: google-github-actions/release-please-action@v3
with:
command: manifest
3 changes: 3 additions & 0 deletions .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
".": "0.0.0"
}
18 changes: 18 additions & 0 deletions release-please-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"changelog-path": "CHANGELOG.md",
"release-type": "rust",
"bump-minor-pre-major": true,
"bump-patch-for-minor-pre-major": true,
"prerelease": true,
"draft": false,
"packages": {
"tap_core": {},
"tap_aggregator": {}
},
"plugins": [
{
"type": "cargo-workspace"
}
],
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json"
}
2 changes: 1 addition & 1 deletion tap_aggregator/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name="tap_aggregator"
version.workspace = true
version = "0.1.0"
edition.workspace = true
license.workspace = true
readme = "README.md"
Expand Down
2 changes: 1 addition & 1 deletion tap_core/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name="tap_core"
version.workspace = true
version = "0.1.0"
edition.workspace = true
license.workspace = true

Expand Down

1 comment on commit 9819c8b

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coverage for this commit

80.66%

Coverage Report
FileStmtsBranchesFuncsLinesUncovered Lines
tap_aggregator/src
   aggregator.rs92.45%100%100%90.70%40–43, 53–56
   api_versioning.rs86.21%100%76.47%90.24%15–16
   error_codes.rs0%100%0%0%16, 5
   jsonrpsee_helpers.rs43.90%100%33.33%48.28%44, 51–57, 9
   main.rs3.70%100%6.67%2.56%17, 21–22, 26, 30–31, 35–36, 40–41, 45–46, 49–51, 54–61, 64–69, 72–76, 78
   server.rs86.09%100%100%82.22%101, 113–117, 137, 69–77
tap_core/src
   eip_712_signed_message.rs83.78%100%80%85.19%57
   lib.rs78.57%100%80%77.78%22, 59
   receipt_aggregate_voucher.rs92.50%100%87.50%93.75%23
tap_core/src/adapters/test
   collateral_adapter_mock.rs88.33%100%75%90.38%18, 44–45, 64
   collateral_adapter_test.rs100%100%100%100%
   rav_storage_adapter_mock.rs92%100%71.43%95.35%30
   rav_storage_adapter_test.rs100%100%100%100%
   receipt_checks_adapter_mock.rs97.83%100%100%97.50%61
   receipt_checks_adapter_test.rs95.83%100%100%95%59
   receipt_storage_adapter_mock.rs93.46%100%86.67%94.57%28, 90–92
   receipt_storage_adapter_test.rs100%100%100%100%
tap_core/src/tap_manager
   manager.rs76.76%100%58.33%78.46%107, 126–129, 135, 170–176, 190, 201–202, 213, 95
   rav_request.rs0%100%0%0%9
tap_core/src/tap_manager/test
   manager_test.rs100%100%100%100%
tap_core/src/tap_receipt
   mod.rs41.46%100%36.36%43.33%16, 49–59
   receipt.rs88.46%100%87.50%88.89%19
   receipt_auditor.rs80%100%83.33%79.70%103–105, 115, 121–126, 139, 146, 161–163, 65, 78–80, 87–90
   received_receipt.rs83.06%100%78.05%83.83%119–121, 131, 215–217, 230–232, 238–240, 247–249, 251–253, 282–284, 308, 319, 326, 333–335, 340, 345, 349–350, 359–360, 382, 396–398

Please sign in to comment.