-
Notifications
You must be signed in to change notification settings - Fork 0
chore: remove redundant main.yaml CI workflow #94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,23 +1,12 @@ | ||
| name: Test Baton Gitlab Integration | ||
|
|
||
| on: pull_request | ||
| on: | ||
| pull_request: | ||
| push: | ||
| branches: | ||
| - main | ||
|
|
||
| jobs: | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🟠 Bug: This PR removes the |
||
| go-lint: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Checkout code | ||
| uses: actions/checkout@v3 | ||
| - name: Install Go | ||
| uses: actions/setup-go@v5 | ||
| with: | ||
| go-version-file: "go.mod" | ||
| - name: Run linters | ||
| uses: golangci/golangci-lint-action@v8 | ||
| with: | ||
| version: latest | ||
| args: --timeout=3m | ||
|
|
||
| go-test: | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🟡 Suggestion: This PR removes the |
||
| strategy: | ||
| matrix: | ||
|
|
@@ -190,6 +179,7 @@ jobs: | |
| # jq --exit-status ".grants[].principal.id.resource == \"${{ env.USER_ID }}\"" | ||
|
|
||
| test-cloud-version: | ||
| if: github.event_name == 'pull_request' | ||
| runs-on: ubuntu-latest | ||
| env: | ||
| BATON_LOG_LEVEL: debug | ||
|
|
||
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🟠 Bug: This PR removes the
go-lintandgo-testjobs fromci.yamland also deletesmain.yaml, which was the only other place those jobs ran. After this change no workflow in the repo runsgolangci-lintorgo teston pull requests or on push tomain—capabilities_and_config.yamlonly doesgo build, andupdate-dependencies.yamlis a scheduled maintenance job. The PR description says these jobs are "already covered by ci.yaml," but this same diff removes them. Unless a centralized reusable workflow (not present in this repo) runs lint/test, please keep ago-lint/go-testjob onpull_request. (confidence: medium-high)There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not a bug — lint/test are covered by the managed
verifyworkflow (baton-admin), which is why @gontzess asked to drop these here. It is not a file in this repo, butverify / lintandverify / testrun and pass on this PR, and also run on push tomain(confirmed on the latestmaincommit). So no lint/test coverage is lost by removing the localgo-lint/go-testjobs.