From 403f87d7ae3efa3619b26e9ca0b4a404d23b8717 Mon Sep 17 00:00:00 2001 From: Svetlin Ralchev Date: Tue, 25 Nov 2025 08:56:22 +0400 Subject: [PATCH 1/3] ci: consolidate CI workflow into single build job - Merge test, coverage, and lint jobs into unified build job - Switch from go test to ginkgo for test execution - Remove artifact upload/download between jobs - Simplify workflow by eliminating job dependencies - Move release-please into main build job Signed-off-by: Svetlin Ralchev --- .github/workflows/ci.yml | 41 ++-------------------------------------- 1 file changed, 2 insertions(+), 39 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0089dae..6871f46 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,8 +11,7 @@ permissions: pull-requests: write checks: write jobs: - test: - name: Test + build: runs-on: ubuntu-latest steps: - name: Checkout code @@ -25,51 +24,15 @@ jobs: - name: Download dependencies run: go mod download - name: Run tests with coverage - run: go test -v -race -coverprofile=coverage.out -covermode=atomic ./... - - name: Upload coverage to artifacts - uses: actions/upload-artifact@v5 - with: - name: coverage - path: coverage.out - coverage: - name: Code Coverage - runs-on: ubuntu-latest - needs: test - if: github.event_name == 'pull_request' - steps: - - name: Checkout code - uses: actions/checkout@v4 - with: - fetch-depth: 0 - - name: Download coverage - uses: actions/download-artifact@v4 - with: - name: coverage + run: go tool ginkgo run -coverprofile=coverage.out -covermode=atomic ./... - name: Run octocov uses: k1LoW/octocov-action@v1 with: github-token: ${{ secrets.GITHUB_TOKEN }} - lint: - name: Lint - runs-on: ubuntu-latest - steps: - - name: Checkout code - uses: actions/checkout@v4 - - name: Set up Go - uses: actions/setup-go@v5 - with: - go-version-file: go.mod - cache: true - name: Run golangci-lint uses: golangci/golangci-lint-action@v6 with: version: latest - release-please: - name: Release Please - runs-on: ubuntu-latest - if: github.event_name == 'push' && github.ref == 'refs/heads/main' - needs: [test, lint] - steps: - name: Run release-please uses: googleapis/release-please-action@v4 with: From 4e14c88405d6f05a13fb409284b990921b9804f1 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 25 Nov 2025 04:59:13 +0000 Subject: [PATCH 2/3] chore(deps): Bump actions/checkout from 4 to 6 (#2) Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 6. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v4...v6) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '6' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6871f46..ae531c4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,7 +15,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Set up Go uses: actions/setup-go@v5 with: From 7f4c13a0c1b536838ff567040c8244e1932c1f19 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 25 Nov 2025 04:59:54 +0000 Subject: [PATCH 3/3] chore(deps): Bump golangci/golangci-lint-action from 6 to 9 Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 6 to 9. - [Release notes](https://github.com/golangci/golangci-lint-action/releases) - [Commits](https://github.com/golangci/golangci-lint-action/compare/v6...v9) --- updated-dependencies: - dependency-name: golangci/golangci-lint-action dependency-version: '9' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ae531c4..15bc180 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -30,7 +30,7 @@ jobs: with: github-token: ${{ secrets.GITHUB_TOKEN }} - name: Run golangci-lint - uses: golangci/golangci-lint-action@v6 + uses: golangci/golangci-lint-action@v9 with: version: latest - name: Run release-please