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

ci: add golangci depguard rule for the errors package #3740

Merged
merged 2 commits into from
Nov 9, 2023

Conversation

jeronimoalbi
Copy link
Member

Added to enforce using github.com/ignite/cli/ignite/pkg/xerrors for errors

@jeronimoalbi jeronimoalbi added the skip-changelog Don't check changelog for new entries label Nov 9, 2023
@jeronimoalbi jeronimoalbi self-assigned this Nov 9, 2023
@github-actions github-actions bot added component:ci CI/CD workflow and automated jobs. component:configs labels Nov 9, 2023
@jeronimoalbi jeronimoalbi merged commit 9c7fbe5 into feat/xerrors Nov 9, 2023
24 checks passed
@jeronimoalbi jeronimoalbi deleted the feat/xerrors-ci-depguard branch November 9, 2023 12:15
ilgooz pushed a commit that referenced this pull request Dec 13, 2023
* create a wrapper for errors

* use join to wrap 2 errors

* add changelog

* rollback some deps

* rollback more go deps

* rollback go deps

* rollback mod requires

* add comments and rationale

* improve rationale

* ci: add golangci depguard rule for the errors package (#3740)

Co-authored-by: Danilo Pantani <[email protected]>

* remove duplicated import

* change pkg from xerrors to errors

* rollback go.mod

* remove unused pkg

* fix goanalysis_test

* remove unused package

* use errors.Errorf instead fmt.Errorf

---------

Co-authored-by: Pantani <Pantani>
Co-authored-by: Jerónimo Albi <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:ci CI/CD workflow and automated jobs. component:configs skip-changelog Don't check changelog for new entries
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants