From b66ad088529779aea64437f31059de686413e030 Mon Sep 17 00:00:00 2001 From: Mateo Hernandez Date: Fri, 17 Jul 2026 17:50:24 -0300 Subject: [PATCH] ci(gitlab): remove redundant main.yaml workflow MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit main.yaml (name "main ci") ran go-lint + go-test on push to main with a hardcoded go-version: 1.23.x. After baton-admin bumped .versions.yaml/go.mod to go 1.25.2, the 1.23.x runner auto-downloads the newer toolchain and `go test -covermode=count` fails with `go: no such tool "covdata"` — the workflow has been red on every push to main since the bump. The managed Verify workflow already runs lint + test + docs on push to main (and on PRs) via the shared ConductorOne/github-workflows verify.yaml, so main.yaml is fully redundant. 423/478 org connectors have no main.yaml and rely on Verify. Removing it fixes the recurring red and eliminates the drift-prone hardcoded Go version. Co-Authored-By: Claude Opus 4.8 (1M context) --- .github/workflows/main.yaml | 41 ------------------------------------- 1 file changed, 41 deletions(-) delete mode 100644 .github/workflows/main.yaml diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml deleted file mode 100644 index dba9bd2d..00000000 --- a/.github/workflows/main.yaml +++ /dev/null @@ -1,41 +0,0 @@ -name: main ci -on: - push: - branches: - - main -jobs: - go-lint: - runs-on: ubuntu-latest - steps: - - name: Install Go - uses: actions/setup-go@v5 - with: - go-version: 1.23.x - - name: Checkout code - uses: actions/checkout@v3 - - name: Run linters - uses: golangci/golangci-lint-action@v8 - with: - version: latest - args: --timeout=3m - go-test: - strategy: - matrix: - go-version: [ 1.23.x ] - platform: [ ubuntu-latest ] - runs-on: ${{ matrix.platform }} - steps: - - name: Install Go - if: success() - uses: actions/setup-go@v5 - with: - go-version: ${{ matrix.go-version }} - - name: Checkout code - uses: actions/checkout@v4 - - name: go tests - run: (set -o pipefail && go test -v -covermode=count -json ./... | tee test.json) - - name: annotate go tests - if: always() - uses: guyarb/golang-test-annotations@v0.5.1 - with: - test-results: test.json \ No newline at end of file