-
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
base: main
Are you sure you want to change the base?
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,47 +1,12 @@ | ||
| name: Test Baton Gitlab Integration | ||
|
|
||
| on: pull_request | ||
| on: | ||
| pull_request: | ||
| push: | ||
| branches: | ||
| - main | ||
|
Comment on lines
+5
to
+7
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 adds a |
||
|
|
||
| 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: | ||
| strategy: | ||
| matrix: | ||
| platform: [ubuntu-latest, windows-latest] | ||
| runs-on: ${{ matrix.platform }} | ||
| steps: | ||
| - name: Checkout code | ||
| uses: actions/checkout@v4 | ||
| - name: Install Go | ||
| if: success() | ||
| uses: actions/setup-go@v5 | ||
| with: | ||
| go-version-file: "go.mod" | ||
| - name: go tests | ||
| run: go test -v -covermode=count -json ./... > test.json | ||
| - name: Print go test results | ||
| if: always() | ||
| run: cat test.json | ||
| - name: annotate go tests | ||
| if: always() | ||
| uses: guyarb/golang-test-annotations@v0.8.0 | ||
| with: | ||
| test-results: test.json | ||
|
|
||
| # this test is commented because it fails to run due to lack of memory in ci test. | ||
| # test-DC-version: | ||
| # runs-on: ubuntu-latest | ||
|
|
@@ -190,6 +155,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.
i think you can also remove the
go-testandgo-lintjobs in this file those should be covered in theverfiy.yamlfrom baton-adminUh oh!
There was an error while loading. Please reload this page.
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.
Good catch — done in 0b124ae