Skip to content

Commit

Permalink
Merge pull request #462 from LandonTClipp/deprecation
Browse files Browse the repository at this point in the history
Add deprecation notice to logs
  • Loading branch information
LandonTClipp committed May 5, 2022
2 parents 9f67b8a + ea4c438 commit 2fcd83d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/testing.yml
Expand Up @@ -12,7 +12,7 @@ jobs:
strategy:
matrix:
os: [ macos-latest, ubuntu-latest]
go_vers: [1.16, 1.17, 1.18]
go_vers: [1.18]
steps:
- uses: actions/checkout@v2
with:
Expand Down
2 changes: 2 additions & 0 deletions cmd/mockery.go
Expand Up @@ -165,6 +165,8 @@ func (r *RootApp) Run() error {
}
log = log.With().Bool(logging.LogKeyDryRun, r.Config.DryRun).Logger()
log.Info().Msgf("Starting mockery")
log.Warn().Msgf("!!! DEPRECATION NOTICE !!!")
log.Warn().Msgf("Using go install to download mockery will likely break after June 1, 2022. Please view PR #456 for details.")
ctx := log.WithContext(context.Background())

if r.Config.Version {
Expand Down

0 comments on commit 2fcd83d

Please sign in to comment.