Skip to content

Set goreleaser version to v1 for CI tests #2956

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

Merged
merged 1 commit into from
Jun 6, 2024
Merged

Conversation

soharab-ic
Copy link
Contributor

Description

By default goreleaser-action v5.0.0 sets goreleaser version to latest. Latest goreleaser version has some breaking changes and involves major version change to v2.
Due to this, we are seeing this issue while building fission-cli

• only configurations files on version: 2 are supported, yours is version: 0, please update your configuration
  ⨯ build failed after 0s                    error=only configurations files on version: 2 are supported, yours is version: 0, please update your configuration

This PR sets the goreleaser version to v1.

Which issue(s) this PR fixes:

Fixes #

Testing

Checklist:

  • I ran tests as well as code linting locally to verify my changes.
  • I have done manual verification of my changes, changes working as expected.
  • I have added new tests to cover my changes.
  • My changes follow contributing guidelines of Fission.
  • I have signed all of my commits.

```
Latest goreleaser version v2 has some breaking changes.
Due to this CI tests failed.
Therefore, setting goreleaser version to v1.
```

Signed-off-by: Md Soharab Ansari <soharab.ansari@infracloud.io>
Copy link

codecov bot commented Jun 5, 2024

Codecov Report

Attention: Patch coverage is 0% with 1 line in your changes missing coverage. Please review.

Project coverage is 44.57%. Comparing base (4e0643e) to head (be54856).
Report is 4 commits behind head on main.

Files Patch % Lines
pkg/fission-cli/cmd/check/check.go 0.00% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2956   +/-   ##
=======================================
  Coverage   44.57%   44.57%           
=======================================
  Files         236      236           
  Lines       24216    24216           
=======================================
  Hits        10795    10795           
  Misses      12019    12019           
  Partials     1402     1402           
Flag Coverage Δ
unittests 44.57% <0.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@soharab-ic soharab-ic requested a review from sanketsudake June 5, 2024 13:33
@sanketsudake sanketsudake merged commit 156c1ac into main Jun 6, 2024
@sanketsudake sanketsudake deleted the goreleaser-version-v1 branch June 26, 2024 05:54
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.

2 participants