Skip to content
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

Merging to release-4.3: [TT-7455] Delete golangci-lint github action (#4597) #4599

Conversation

buger
Copy link
Member

@buger buger commented Dec 29, 2022

TT-7455 Delete golangci-lint github action (#4597)

Description

This PR removes the duplicate/misconfigured golangci-lint github action.

Related Issue

https://tyktech.atlassian.net/browse/TT-7455

Motivation and Context

Housekeeping GH actions:

  1. We already have a golangci-lint action in ci-tests, which nicely
    surfaces issues in sonarcloud,
  2. Failure from GH action being removed doesn't produce file/line info
    for errors (misconfiguration?)
  3. Github Actions reuse (in future).

Removing this workflow doesn't hurt us, as we cover raising of errors in
CI Tests.

https://github.com/TykTechnologies/tyk/actions/runs/3795785568/jobs/6455252799#step:3:87

How This Has Been Tested

Screenshots (if appropriate)

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing
    functionality to change)
  • Refactoring or add test (improvements in base code or adds test
    coverage to functionality)

Checklist

  • I ensured that the documentation is up to date
  • I explained why this PR updates go.mod in detail with reasoning
    why it's required
  • I would like a code coverage CI quality gate exception and have
    explained why

Co-authored-by: Tit Petric tit@tyk.io

@Tyk-ITS
Copy link
Contributor

Tyk-ITS commented Dec 29, 2022

API tests result: success
Branch used: refs/pull/4599/merge
Commit:
Triggered by: pull_request (@buger)
Execution page

@titpetric titpetric enabled auto-merge (squash) January 4, 2023 09:31
<!-- Provide a general summary of your changes in the Title above -->

## Description

This PR removes the duplicate/misconfigured golangci-lint github action.

<!-- Describe your changes in detail -->

## Related Issue

<!-- This project only accepts pull requests related to open issues. -->
<!-- If suggesting a new feature or change, please discuss it in an
issue first. -->
<!-- If fixing a bug, there should be an issue describing it with steps
to reproduce. -->
<!-- OSS: Please link to the issue here. Tyk: please create/link the
JIRA ticket. -->
https://tyktech.atlassian.net/browse/TT-7455

## Motivation and Context

<!-- Why is this change required? What problem does it solve? -->

Housekeeping GH actions:

1. We already have a golangci-lint action in ci-tests, which nicely
surfaces issues in sonarcloud,
2. Failure from GH action being removed doesn't produce file/line info
for errors (misconfiguration?)
3. Github Actions reuse (in future).

Removing this workflow doesn't hurt us, as we cover raising of errors in
CI Tests.


https://github.com/TykTechnologies/tyk/actions/runs/3795785568/jobs/6455252799#step:3:87

## How This Has Been Tested

<!-- Please describe in detail how you tested your changes -->
<!-- Include details of your testing environment, and the tests -->
<!-- you ran to see how your change affects other areas of the code,
etc. -->
<!-- This information is helpful for reviewers and QA. -->

## Screenshots (if appropriate)

## Types of changes

<!-- What types of changes does your code introduce? Put an `x` in all
the boxes that apply: -->

- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to change)
- [x] Refactoring or add test (improvements in base code or adds test
coverage to functionality)

## Checklist

<!-- Go over all the following points, and put an `x` in all the boxes
that apply -->
<!-- If there are no documentation updates required, mark the item as
checked. -->
<!-- Raise up any additional concerns not covered by the checklist. -->

- [ ] I ensured that the documentation is up to date
- [ ] I explained why this PR updates go.mod in detail with reasoning
why it's required
- [ ] I would like a code coverage CI quality gate exception and have
explained why

Co-authored-by: Tit Petric <tit@tyk.io>
(cherry picked from commit 913aba7)
@titpetric titpetric force-pushed the merge/release-4.3/913aba766832d1868bfe7b4bc35d082f8bf018ae branch from 0ec669d to 1eafa6a Compare January 4, 2023 09:31
@github-actions
Copy link

github-actions bot commented Jan 4, 2023

💥 CI tests failed 🙈

git-state

all ok

Please look at the run or in the Checks tab.

@Tyk-ITS
Copy link
Contributor

Tyk-ITS commented Jan 4, 2023

API tests result: success
Branch used: refs/pull/4599/merge
Commit: 1eafa6a
Triggered by: pull_request (@titpetric)
Execution page

@sonarcloud
Copy link

sonarcloud bot commented Jan 4, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@titpetric titpetric merged commit 813a5b1 into release-4.3 Jan 4, 2023
@titpetric titpetric deleted the merge/release-4.3/913aba766832d1868bfe7b4bc35d082f8bf018ae branch January 4, 2023 11:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants