From 4c9a9188e5836d639e581be121349fb00a67fba7 Mon Sep 17 00:00:00 2001 From: "Masih H. Derkani" Date: Wed, 1 Oct 2025 13:37:47 +0100 Subject: [PATCH] Integrate UCI versioning and release Integrate UCI versioning and release into `sei-db` and create the version file for the latest tagged semver currently present. Upgrade UCI Go lint to latest while at it. --- .github/workflows/uci-go-lint.yml | 2 +- .github/workflows/uci-release-check.yml | 20 ++++++++++++++++++++ .github/workflows/uci-release-publish.yml | 18 ++++++++++++++++++ version.json | 3 +++ 4 files changed, 42 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/uci-release-check.yml create mode 100644 .github/workflows/uci-release-publish.yml create mode 100644 version.json diff --git a/.github/workflows/uci-go-lint.yml b/.github/workflows/uci-go-lint.yml index 6f2ed36e..0bbe214f 100644 --- a/.github/workflows/uci-go-lint.yml +++ b/.github/workflows/uci-go-lint.yml @@ -17,4 +17,4 @@ concurrency: jobs: go-lint: name: Go - uses: sei-protocol/uci/.github/workflows/go-lint.yml@v0.0.1 \ No newline at end of file + uses: sei-protocol/uci/.github/workflows/go-lint.yml@v0.0.2 \ No newline at end of file diff --git a/.github/workflows/uci-release-check.yml b/.github/workflows/uci-release-check.yml new file mode 100644 index 00000000..6db7fa37 --- /dev/null +++ b/.github/workflows/uci-release-check.yml @@ -0,0 +1,20 @@ +name: UCI + +on: + pull_request_target: + paths: [ 'version.json' ] + types: [ opened, synchronize, reopened, labeled, unlabeled ] + workflow_dispatch: + +permissions: + contents: write + pull-requests: write + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + +jobs: + release-check: + name: Release + uses: sei-protocol/uci/.github/workflows/release-check.yml@v0.0.2 \ No newline at end of file diff --git a/.github/workflows/uci-release-publish.yml b/.github/workflows/uci-release-publish.yml new file mode 100644 index 00000000..b28f345d --- /dev/null +++ b/.github/workflows/uci-release-publish.yml @@ -0,0 +1,18 @@ +name: UCI + +on: + push: + paths: [ 'version.json' ] + workflow_dispatch: + +permissions: + contents: write + +concurrency: + group: ${{ github.workflow }}-${{ github.sha }} + cancel-in-progress: true + +jobs: + releaser: + name: Release + uses: sei-protocol/uci/.github/workflows/release-publish.yml@v0.0.2 \ No newline at end of file diff --git a/version.json b/version.json new file mode 100644 index 00000000..11225d76 --- /dev/null +++ b/version.json @@ -0,0 +1,3 @@ +{ + "version": "v0.0.54" +} \ No newline at end of file