Skip to content

chore: fixes dead link for golangci-lint status badge in README#254

Merged
staheri14 merged 3 commits intomainfrom
sanaz/fixes-linter-status-link
May 16, 2024
Merged

chore: fixes dead link for golangci-lint status badge in README#254
staheri14 merged 3 commits intomainfrom
sanaz/fixes-linter-status-link

Conversation

@staheri14
Copy link
Contributor

The status badge for the the golangci-lint workflow fails to load. This PR fixes the link and resolves the issue.

@staheri14 staheri14 self-assigned this May 13, 2024
@staheri14 staheri14 requested review from evan-forbes and rootulp May 13, 2024 18:47
rootulp
rootulp previously approved these changes May 13, 2024
README.md Outdated
![Go version](https://img.shields.io/badge/go-1.21-blue.svg)
[![Go Reference](https://pkg.go.dev/badge/github.com/celestiaorg/nmt.svg)](https://pkg.go.dev/github.com/celestiaorg/nmt)
![golangci-lint](https://github.com/celestiaorg/nmt/workflows/golangci-lint/badge.svg?branch=main)
![golangci-lint](https://github.com/celestiaorg/nmt/workflows/lint/badge.svg?branch=main)
Copy link
Collaborator

@rootulp rootulp May 13, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm if I go to that link it says no status. We could also get rid of the badge entirely

Screenshot 2024-05-13 at 2 54 49 PM

Suggested change
![golangci-lint](https://github.com/celestiaorg/nmt/workflows/lint/badge.svg?branch=main)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am down with removing it entirely cc: @evan-forbes wdyt?

Copy link
Contributor Author

@staheri14 staheri14 May 15, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I changed the url to use the default branch of main(removed the branch parameter results in using the default branch of main). With this change the status badge is failing, which I think should become passing after this PR.
Update: the badge is now passing.

evan-forbes
evan-forbes previously approved these changes May 14, 2024
@staheri14 staheri14 dismissed stale reviews from evan-forbes and rootulp via fef606b May 15, 2024 19:52
@staheri14 staheri14 requested review from evan-forbes and rootulp May 15, 2024 19:52
@staheri14 staheri14 enabled auto-merge (squash) May 15, 2024 20:00
@codecov
Copy link

codecov bot commented May 16, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 66.24%. Comparing base (2c0563a) to head (0325c2c).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #254   +/-   ##
=======================================
  Coverage   66.24%   66.24%           
=======================================
  Files           6        6           
  Lines        1022     1022           
=======================================
  Hits          677      677           
  Misses        328      328           
  Partials       17       17           

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

@staheri14 staheri14 merged commit 559fe2b into main May 16, 2024
@staheri14 staheri14 deleted the sanaz/fixes-linter-status-link branch May 16, 2024 16:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants