1
0
Fork 0
mirror of https://code.forgejo.org/forgejo/runner.git synced 2025-08-21 18:11:06 +00:00
forgejo-runner/Makefile

149 lines
4.3 KiB
Makefile
Raw Normal View History

DIST := dist
2023-04-30 18:13:11 +02:00
EXECUTABLE := forgejo-runner
GOFMT ?= gofumpt -l
DIST := dist
DIST_DIRS := $(DIST)/binaries $(DIST)/release
GO ?= $(shell go env GOROOT)/bin/go
SHASUM ?= shasum -a 256
HAS_GO = $(shell hash $(GO) > /dev/null 2>&1 && echo "GO" || echo "NOGO" )
LINUX_ARCHS ?= linux/amd64,linux/arm64
DARWIN_ARCHS ?= darwin-12/amd64,darwin-12/arm64
WINDOWS_ARCHS ?= windows/amd64
GO_FMT_FILES := $(shell find . -type f -name "*.go" ! -name "generated.*")
GOFILES := $(shell find . -type f -name "*.go" -o -name "go.mod" ! -name "generated.*")
Update module github.com/vektra/mockery/v2 to v2.53.4 (#658) This PR contains the following updates: | Package | Change | Age | Confidence | |---|---|---|---| | [github.com/vektra/mockery/v2](https://github.com/vektra/mockery) | `v2.26.1` -> `v2.53.4` | [![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fvektra%2fmockery%2fv2/v2.53.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fvektra%2fmockery%2fv2/v2.26.1/v2.53.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vektra/mockery (github.com/vektra/mockery/v2)</summary> ### [`v2.53.4`](https://github.com/vektra/mockery/releases/tag/v2.53.4) [Compare Source](https://github.com/vektra/mockery/compare/v2.53.3...v2.53.4) #### What's Changed - v2: Add k8s as user of mockery by [@&#8203;LandonTClipp](https://github.com/LandonTClipp) in https://github.com/vektra/mockery/pull/965 - Bump golang.org/x/net from 0.33.0 to 0.36.0 in /tools by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/vektra/mockery/pull/947 - v2: Update release and docs for v3 GA by [@&#8203;LandonTClipp](https://github.com/LandonTClipp) in https://github.com/vektra/mockery/pull/984 - Fix CICD for master->v2 branch rename. by [@&#8203;LandonTClipp](https://github.com/LandonTClipp) in https://github.com/vektra/mockery/pull/996 - Fix v2 docs javascript for installation command by [@&#8203;LandonTClipp](https://github.com/LandonTClipp) in https://github.com/vektra/mockery/pull/1040 - v2: Fix go.work.sum for tagging command by [@&#8203;LandonTClipp](https://github.com/LandonTClipp) in https://github.com/vektra/mockery/pull/1050 **Full Changelog**: https://github.com/vektra/mockery/compare/v2.53.3...v2.53.4 ### [`v2.53.3`](https://github.com/vektra/mockery/releases/tag/v2.53.3) [Compare Source](https://github.com/vektra/mockery/compare/v2.53.2...v2.53.3) #### What's Changed - Move to `docker/login-action@v3` by [@&#8203;LandonTClipp](https://github.com/LandonTClipp) in https://github.com/vektra/mockery/pull/944 - Fix documentation CI workflow by [@&#8203;LandonTClipp](https://github.com/LandonTClipp) in https://github.com/vektra/mockery/pull/945 - Remove redundant typecheck linter by [@&#8203;alexandear](https://github.com/alexandear) in https://github.com/vektra/mockery/pull/948 - Bump viper for remove hashicorp dependencies by [@&#8203;RainbowMango](https://github.com/RainbowMango) in https://github.com/vektra/mockery/pull/951 #### New Contributors - [@&#8203;RainbowMango](https://github.com/RainbowMango) made their first contribution in https://github.com/vektra/mockery/pull/951 **Full Changelog**: https://github.com/vektra/mockery/compare/v2.53.2...v2.53.3 ### [`v2.53.2`](https://github.com/vektra/mockery/releases/tag/v2.53.2) [Compare Source](https://github.com/vektra/mockery/compare/v2.53.1...v2.53.2) #### What's Changed - Build Go binary with 1.24 by [@&#8203;LandonTClipp](https://github.com/LandonTClipp) in https://github.com/vektra/mockery/pull/943 **Full Changelog**: https://github.com/vektra/mockery/compare/v2.53.1...v2.53.2 ### [`v2.53.1`](https://github.com/vektra/mockery/releases/tag/v2.53.1) [Compare Source](https://github.com/vektra/mockery/compare/v2.53.0...v2.53.1) #### What's Changed - Fix profiling by [@&#8203;mat007](https://github.com/mat007) in https://github.com/vektra/mockery/pull/926 - fix: include-auto-generated option to work with multi-line comment by [@&#8203;hpurmann](https://github.com/hpurmann) in https://github.com/vektra/mockery/pull/940 - Revert to Go 1.23 in go.mod by [@&#8203;LandonTClipp](https://github.com/LandonTClipp) in https://github.com/vektra/mockery/pull/941 #### New Contributors - [@&#8203;mat007](https://github.com/mat007) made their first contribution in https://github.com/vektra/mockery/pull/926 - [@&#8203;hpurmann](https://github.com/hpurmann) made their first contribution in https://github.com/vektra/mockery/pull/940 **Full Changelog**: https://github.com/vektra/mockery/compare/v2.53.0...v2.53.1 ### [`v2.53.0`](https://github.com/vektra/mockery/releases/tag/v2.53.0) [Compare Source](https://github.com/vektra/mockery/compare/v2.52.4...v2.53.0) #### What's Changed - Remove homebrew tap by [@&#8203;LandonTClipp](https://github.com/LandonTClipp) in https://github.com/vektra/mockery/pull/933 - feat(`fail-on-missing`): Allow mockery to return non-zero on missing interfaces by [@&#8203;LandonTClipp](https://github.com/LandonTClipp) in https://github.com/vektra/mockery/pull/934 **Full Changelog**: https://github.com/vektra/mockery/compare/v2.52.4...v2.53.0 ### [`v2.52.4`](https://github.com/vektra/mockery/releases/tag/v2.52.4) [Compare Source](https://github.com/vektra/mockery/compare/v2.52.3...v2.52.4) #### Changelog - [`0c0f6fc`](https://github.com/vektra/mockery/commit/0c0f6fc) Fix disable-version-string bool check ([#&#8203;927](https://github.com/vektra/mockery/issues/927)) - [`3761289`](https://github.com/vektra/mockery/commit/3761289) Update mockery-tools.env - [`45d41e8`](https://github.com/vektra/mockery/commit/45d41e8) fix: `include-auto-generated` option ([#&#8203;928](https://github.com/vektra/mockery/issues/928)) ### [`v2.52.3`](https://github.com/vektra/mockery/releases/tag/v2.52.3) [Compare Source](https://github.com/vektra/mockery/compare/v2.52.2...v2.52.3) #### Changelog - [`b4291cf`](https://github.com/vektra/mockery/commit/b4291cf) Build Docker from Go 1.24 ([#&#8203;923](https://github.com/vektra/mockery/issues/923)) - [`44293f3`](https://github.com/vektra/mockery/commit/44293f3) Bump debug version ### [`v2.52.2`](https://github.com/vektra/mockery/releases/tag/v2.52.2) [Compare Source](https://github.com/vektra/mockery/compare/v2.52.1...v2.52.2) #### Changelog - [`252f27c`](https://github.com/vektra/mockery/commit/252f27c) Support go 1.24 and upgrade dependencies ([#&#8203;915](https://github.com/vektra/mockery/issues/915)) - [`c644c45`](https://github.com/vektra/mockery/commit/c644c45) docs: fix go mod download command ([#&#8203;908](https://github.com/vektra/mockery/issues/908)) ### [`v2.52.1`](https://github.com/vektra/mockery/releases/tag/v2.52.1) [Compare Source](https://github.com/vektra/mockery/compare/v2.52.0...v2.52.1) #### Changelog - [`2becc15`](https://github.com/vektra/mockery/commit/2becc15) Fix dependency issue in zerolog ([#&#8203;910](https://github.com/vektra/mockery/issues/910)) ### [`v2.52.0`](https://github.com/vektra/mockery/releases/tag/v2.52.0) [Compare Source](https://github.com/vektra/mockery/compare/v2.51.1...v2.52.0) #### Changelog - [`812a888`](https://github.com/vektra/mockery/commit/812a888) Add latest-v2 alias in docs. - [`ed09f71`](https://github.com/vektra/mockery/commit/ed09f71) Add link to v3 docs. ([#&#8203;904](https://github.com/vektra/mockery/issues/904)) - [`25182ae`](https://github.com/vektra/mockery/commit/25182ae) Bump github.com/go-git/go-git/v5 from 5.12.0 to 5.13.0 in /tools ([#&#8203;903](https://github.com/vektra/mockery/issues/903)) - [`3f90943`](https://github.com/vektra/mockery/commit/3f90943) Bump golang.org/x/net from 0.28.0 to 0.33.0 in /tools ([#&#8203;902](https://github.com/vektra/mockery/issues/902)) - [`eb84be5`](https://github.com/vektra/mockery/commit/eb84be5) Bump version - [`14a9cc6`](https://github.com/vektra/mockery/commit/14a9cc6) feat: Error message for nonexistent mocks ([#&#8203;907](https://github.com/vektra/mockery/issues/907)) ### [`v2.51.1`](https://github.com/vektra/mockery/releases/tag/v2.51.1) [Compare Source](https://github.com/vektra/mockery/compare/v2.51.0...v2.51.1) #### Changelog - [`52c9c25`](https://github.com/vektra/mockery/commit/52c9c25) Fix config issue with type conversion and deprecation warnings ([#&#8203;897](https://github.com/vektra/mockery/issues/897)) ### [`v2.51.0`](https://github.com/vektra/mockery/releases/tag/v2.51.0) [Compare Source](https://github.com/vektra/mockery/compare/v2.50.4...v2.51.0) #### Changelog - [`0f55ecb`](https://github.com/vektra/mockery/commit/0f55ecb) Add enhanced deprecation logging support. ([#&#8203;894](https://github.com/vektra/mockery/issues/894)) #### NOTE This release adds a number of deprecation warnings in preparation for the v3 release. If you would like to disable these warnings, you can use the `disable-deprecation-warnings` parameter, or to disable only specific warnings, the `disabled-deprecation-warnings` parameter. Details on these are in the [configuration section](https://vektra.github.io/mockery/v2.51/configuration/#parameter-descriptions) of the docs. ### [`v2.50.4`](https://github.com/vektra/mockery/releases/tag/v2.50.4) [Compare Source](https://github.com/vektra/mockery/compare/v2.50.3...v2.50.4) #### Changelog - [`cd34e8b`](https://github.com/vektra/mockery/commit/cd34e8b) Fix tagging - [`d5bc859`](https://github.com/vektra/mockery/commit/d5bc859) Support \*ast.SelectorExpr aliases ([#&#8203;881](https://github.com/vektra/mockery/issues/881)) - [`fe58af4`](https://github.com/vektra/mockery/commit/fe58af4) bump version - [`bb1e69e`](https://github.com/vektra/mockery/commit/bb1e69e) updates to CICD ### [`v2.50.3`](https://github.com/vektra/mockery/compare/v2.50.2...v2.50.3) [Compare Source](https://github.com/vektra/mockery/compare/v2.50.2...v2.50.3) ### [`v2.50.2`](https://github.com/vektra/mockery/releases/tag/v2.50.2) [Compare Source](https://github.com/vektra/mockery/compare/v2.50.1...v2.50.2) #### Changelog - [`6a54b28`](https://github.com/vektra/mockery/commit/6a54b28) Fix empty build tags adding a tags parameter ([#&#8203;874](https://github.com/vektra/mockery/issues/874)) - [`afe092f`](https://github.com/vektra/mockery/commit/afe092f) Update mockery-tools.env ### [`v2.50.1`](https://github.com/vektra/mockery/releases/tag/v2.50.1) [Compare Source](https://github.com/vektra/mockery/compare/v2.50.0...v2.50.1) #### Changelog - [`ede4f2c`](https://github.com/vektra/mockery/commit/ede4f2c) Add new expressions to allowed types ([#&#8203;863](https://github.com/vektra/mockery/issues/863)) - [`f6c261b`](https://github.com/vektra/mockery/commit/f6c261b) Bump version ### [`v2.50.0`](https://github.com/vektra/mockery/releases/tag/v2.50.0) [Compare Source](https://github.com/vektra/mockery/compare/v2.49.2...v2.50.0) #### Changelog - [`13d696b`](https://github.com/vektra/mockery/commit/13d696b) Bump to 2.50.0 - [`0ba6fad`](https://github.com/vektra/mockery/commit/0ba6fad) Make the parser accept index list expressions ([#&#8203;857](https://github.com/vektra/mockery/issues/857)) ### [`v2.49.2`](https://github.com/vektra/mockery/releases/tag/v2.49.2) [Compare Source](https://github.com/vektra/mockery/compare/v2.49.1...v2.49.2) #### Changelog - [`3a3fb6e`](https://github.com/vektra/mockery/commit/3a3fb6e) Add reusable Github action for testing ([#&#8203;855](https://github.com/vektra/mockery/issues/855)) - [`715d9a3`](https://github.com/vektra/mockery/commit/715d9a3) Fix minor typos in parser debug logs ([#&#8203;858](https://github.com/vektra/mockery/issues/858)) - [`dc47fdb`](https://github.com/vektra/mockery/commit/dc47fdb) Fix(generator): run functions with empty return ([#&#8203;842](https://github.com/vektra/mockery/issues/842)) - [`7d8df22`](https://github.com/vektra/mockery/commit/7d8df22) Update mockery-tools.env ### [`v2.49.1`](https://github.com/vektra/mockery/releases/tag/v2.49.1) [Compare Source](https://github.com/vektra/mockery/compare/v2.49.0...v2.49.1) #### Changelog - [`8da7022`](https://github.com/vektra/mockery/commit/8da7022) Add deprecation warning for `with-expecter`. - [`63a14b5`](https://github.com/vektra/mockery/commit/63a14b5) Add tagging Github action - [`314381f`](https://github.com/vektra/mockery/commit/314381f) Docs: Make deprecations clearer - [`55e1e90`](https://github.com/vektra/mockery/commit/55e1e90) Docs: Simplify/modernize index page - [`3cef7fd`](https://github.com/vektra/mockery/commit/3cef7fd) Fix bug with type aliases to structs - [`cba8aa0`](https://github.com/vektra/mockery/commit/cba8aa0) Fix dirty git state caused by built tool - [`5c75177`](https://github.com/vektra/mockery/commit/5c75177) Fix tag action - [`37383a4`](https://github.com/vektra/mockery/commit/37383a4) Merge pull request [#&#8203;849](https://github.com/vektra/mockery/issues/849) from LandonTClipp/LandonTClipp/tagging - [`88830e8`](https://github.com/vektra/mockery/commit/88830e8) Merge pull request [#&#8203;850](https://github.com/vektra/mockery/issues/850) from LandonTClipp/LandonTClipp/deprecation\_docs - [`bc56391`](https://github.com/vektra/mockery/commit/bc56391) Merge pull request [#&#8203;851](https://github.com/vektra/mockery/issues/851) from LandonTClipp/LandonTClipp/expecter - [`773408f`](https://github.com/vektra/mockery/commit/773408f) Merge pull request [#&#8203;853](https://github.com/vektra/mockery/issues/853) from LandonTClipp/LandonTClipp/bugfix - [`971ce32`](https://github.com/vektra/mockery/commit/971ce32) Merge pull request [#&#8203;854](https://github.com/vektra/mockery/issues/854) from LandonTClipp/master - [`b1145cb`](https://github.com/vektra/mockery/commit/b1145cb) bump debug - [`198df07`](https://github.com/vektra/mockery/commit/198df07) formatting ### [`v2.49.0`](https://github.com/vektra/mockery/releases/tag/v2.49.0) [Compare Source](https://github.com/vektra/mockery/compare/v2.48.0...v2.49.0) #### Changelog - [`13fc607`](https://github.com/vektra/mockery/commit/13fc607) Add `resolve-type-alias` parameter - [`a27cb03`](https://github.com/vektra/mockery/commit/a27cb03) Merge pull request [#&#8203;843](https://github.com/vektra/mockery/issues/843) from LandonTClipp/LandonTClipp/issue\_839 #### NOTE In this release, mockery will resolve aliases down to their underlying type in order to maintain backwards compatibility. Please see [the deprecations page](https://vektra.github.io/mockery/latest/deprecations/#resolve-type-alias) for details on why this change was introduced and how to configure mockery to not resolve type aliases. ### [`v2.48.0`](https://github.com/vektra/mockery/releases/tag/v2.48.0) [Compare Source](https://github.com/vektra/mockery/compare/v2.47.0...v2.48.0) #### Changelog - [`04c4dc1`](https://github.com/vektra/mockery/commit/04c4dc1) Fix `outpkg` not being respected when `inpackage: True`. - [`3ae14ef`](https://github.com/vektra/mockery/commit/3ae14ef) Merge pull request [#&#8203;846](https://github.com/vektra/mockery/issues/846) from LandonTClipp/LandonTClipp/issue\_845 ### [`v2.47.0`](https://github.com/vektra/mockery/releases/tag/v2.47.0) [Compare Source](https://github.com/vektra/mockery/compare/v2.46.3...v2.47.0) #### Changelog - [`f48ddc0`](https://github.com/vektra/mockery/commit/f48ddc0) Enable gofumpt linter and cleanup formatting - [`c9614e7`](https://github.com/vektra/mockery/commit/c9614e7) Fix unreachable links in docs - [`97ba6f2`](https://github.com/vektra/mockery/commit/97ba6f2) Fix(recursive): use packages.Load support for recursive search instead of manual - Fix(Parsepackages): Ignore packages with no Go files - [`01a68ea`](https://github.com/vektra/mockery/commit/01a68ea) Merge pull request [#&#8203;825](https://github.com/vektra/mockery/issues/825) from alexandear/refactor/yaml.v3 - [`4ce1908`](https://github.com/vektra/mockery/commit/4ce1908) Merge pull request [#&#8203;826](https://github.com/vektra/mockery/issues/826) from alexandear/github-update-pr-template - [`e9539f2`](https://github.com/vektra/mockery/commit/e9539f2) Merge pull request [#&#8203;827](https://github.com/vektra/mockery/issues/827) from alexandear/docs/replace-godoc-pkg-go-dev - [`08deb2d`](https://github.com/vektra/mockery/commit/08deb2d) Merge pull request [#&#8203;828](https://github.com/vektra/mockery/issues/828) from alexandear/refactor/enable-gofumpt - [`146f48b`](https://github.com/vektra/mockery/commit/146f48b) Merge pull request [#&#8203;829](https://github.com/vektra/mockery/issues/829) from alexandear/refactor/redundant-var-decl - [`33886a9`](https://github.com/vektra/mockery/commit/33886a9) Merge pull request [#&#8203;830](https://github.com/vektra/mockery/issues/830) from alexandear/docs/fix-links - [`f9da2b6`](https://github.com/vektra/mockery/commit/f9da2b6) Merge pull request [#&#8203;831](https://github.com/vektra/mockery/issues/831) from alexandear/refactor/test-asserts - [`f1e8da9`](https://github.com/vektra/mockery/commit/f1e8da9) Merge pull request [#&#8203;833](https://github.com/vektra/mockery/issues/833) from alexandear/refactor/simplify-parse-config-templates - [`5a0ad1c`](https://github.com/vektra/mockery/commit/5a0ad1c) Merge pull request [#&#8203;834](https://github.com/vektra/mockery/issues/834) from alexandear/refactor/dont-use-underscores - [`f6ecb44`](https://github.com/vektra/mockery/commit/f6ecb44) Merge pull request [#&#8203;835](https://github.com/vektra/mockery/issues/835) from jfragosoperez/fix/support-for-interface-typed-params - [`057cf5e`](https://github.com/vektra/mockery/commit/057cf5e) Merge pull request [#&#8203;838](https://github.com/vektra/mockery/issues/838) from sonalys/fix/recursive - [`f66028a`](https://github.com/vektra/mockery/commit/f66028a) Refactor test asserts - [`a79c303`](https://github.com/vektra/mockery/commit/a79c303) Refactor to avoid undersore in var names - [`7ea7946`](https://github.com/vektra/mockery/commit/7ea7946) Refactor to use only gopkg.in/yaml.v3 - [`6f99c60`](https://github.com/vektra/mockery/commit/6f99c60) Remove redundant variable declarations - [`86ae19b`](https://github.com/vektra/mockery/commit/86ae19b) Replace godoc.org with pkg.go.dev - [`e314ba8`](https://github.com/vektra/mockery/commit/e314ba8) Simplify parseConfigTemplates implementation - [`d374c68`](https://github.com/vektra/mockery/commit/d374c68) Update Go versions in GitHub PR template - [`6c7fb6b`](https://github.com/vektra/mockery/commit/6c7fb6b) fix(generator): support nil returns when using interface typed params ### [`v2.46.3`](https://github.com/vektra/mockery/releases/tag/v2.46.3) [Compare Source](https://github.com/vektra/mockery/compare/v2.46.2...v2.46.3) #### Changelog - [`4d3bfa7`](https://github.com/vektra/mockery/commit/4d3bfa7) Merge pull request [#&#8203;824](https://github.com/vektra/mockery/issues/824) from DimaGolomozy/patch-1 - [`2e2b9bc`](https://github.com/vektra/mockery/commit/2e2b9bc) add git - [`f55598e`](https://github.com/vektra/mockery/commit/f55598e) add ssh ### [`v2.46.2`](https://github.com/vektra/mockery/releases/tag/v2.46.2) [Compare Source](https://github.com/vektra/mockery/compare/v2.46.1...v2.46.2) #### Changelog - [`87fdecc`](https://github.com/vektra/mockery/commit/87fdecc) Merge pull request [#&#8203;819](https://github.com/vektra/mockery/issues/819) from pieter-irsan/patch-1 - [`0d1b1a2`](https://github.com/vektra/mockery/commit/0d1b1a2) Merge pull request [#&#8203;821](https://github.com/vektra/mockery/issues/821) from Link512/master - [`2e2c85b`](https://github.com/vektra/mockery/commit/2e2c85b) check nillable property for type aliases as well - [`ce9adb6`](https://github.com/vektra/mockery/commit/ce9adb6) docs: update typo in README.md ### [`v2.46.1`](https://github.com/vektra/mockery/releases/tag/v2.46.1) [Compare Source](https://github.com/vektra/mockery/compare/v2.46.0...v2.46.1) #### Changelog - [`afe04a5`](https://github.com/vektra/mockery/commit/afe04a5) Merge pull request [#&#8203;808](https://github.com/vektra/mockery/issues/808) from RangelReale/fix-go123-aliastype - [`720caa9`](https://github.com/vektra/mockery/commit/720caa9) Undo go:build statements, make code a little DRY - [`cf26d69`](https://github.com/vektra/mockery/commit/cf26d69) Update to go1.23 - [`c05a755`](https://github.com/vektra/mockery/commit/c05a755) remove Go 1.23 testing - [`6f7960f`](https://github.com/vektra/mockery/commit/6f7960f) support types.Alias - [`42d905a`](https://github.com/vektra/mockery/commit/42d905a) support types.Alias - [`66dba08`](https://github.com/vektra/mockery/commit/66dba08) support types.Alias - [`e4b095f`](https://github.com/vektra/mockery/commit/e4b095f) upgrade go task - [`ea36ecc`](https://github.com/vektra/mockery/commit/ea36ecc) upgrade golangci-lint and add Go 1.23 to CI test ### [`v2.46.0`](https://github.com/vektra/mockery/releases/tag/v2.46.0) [Compare Source](https://github.com/vektra/mockery/compare/v2.45.1...v2.46.0) #### Changelog - [`6423255`](https://github.com/vektra/mockery/commit/6423255) Merge pull request [#&#8203;807](https://github.com/vektra/mockery/issues/807) from tobby-s/FEAT-configdir - [`7c9f776`](https://github.com/vektra/mockery/commit/7c9f776) add documentation - [`8fae460`](https://github.com/vektra/mockery/commit/8fae460) propagate config file name into template ### [`v2.45.1`](https://github.com/vektra/mockery/releases/tag/v2.45.1) [Compare Source](https://github.com/vektra/mockery/compare/v2.45.0...v2.45.1) #### Changelog - [`1790d6a`](https://github.com/vektra/mockery/commit/1790d6a) Bump Go v1.22 to v1.23 in Dockerfile - [`38070f7`](https://github.com/vektra/mockery/commit/38070f7) Merge pull request [#&#8203;812](https://github.com/vektra/mockery/issues/812) from colega/patch-1 - [`2abbb49`](https://github.com/vektra/mockery/commit/2abbb49) Merge pull request [#&#8203;814](https://github.com/vektra/mockery/issues/814) from khaifazil/patch-1 - [`b2c2927`](https://github.com/vektra/mockery/commit/b2c2927) Update index.md: capitalize "Grafana" ### [`v2.45.0`](https://github.com/vektra/mockery/releases/tag/v2.45.0) [Compare Source](https://github.com/vektra/mockery/compare/v2.44.2...v2.45.0) #### Changelog - [`56379c8`](https://github.com/vektra/mockery/commit/56379c8) Add disable-func-mocks parameter - [`a03d1ff`](https://github.com/vektra/mockery/commit/a03d1ff) Merge pull request [#&#8203;809](https://github.com/vektra/mockery/issues/809) from LandonTClipp/disable\_func\_mocks - [`1e69719`](https://github.com/vektra/mockery/commit/1e69719) updates ### [`v2.44.2`](https://github.com/vektra/mockery/releases/tag/v2.44.2) [Compare Source](https://github.com/vektra/mockery/compare/v2.44.1...v2.44.2) #### Changelog - [`4bee898`](https://github.com/vektra/mockery/commit/4bee898) Ensure generated imports doesn't start with digit - [`910874a`](https://github.com/vektra/mockery/commit/910874a) Merge pull request [#&#8203;806](https://github.com/vektra/mockery/issues/806) from leitzler/master ### [`v2.44.1`](https://github.com/vektra/mockery/releases/tag/v2.44.1) [Compare Source](https://github.com/vektra/mockery/compare/v2.44.0...v2.44.1) #### Changelog - [`c6d2a9e`](https://github.com/vektra/mockery/commit/c6d2a9e) Fix release workflow - Fixes [#&#8203;769](https://github.com/vektra/mockery/issues/769) : Mock files getting created in disk when dry-run is enabled by [@&#8203;snopan](https://github.com/snopan) in https://github.com/vektra/mockery/pull/789 - chore: fix typos and style by [@&#8203;ccoVeille](https://github.com/ccoVeille) in https://github.com/vektra/mockery/pull/794 - Allow types defined as instantiated generic interfaces to generate mocks by [@&#8203;LandonTClipp](https://github.com/LandonTClipp) in https://github.com/vektra/mockery/pull/790 ### [`v2.44.0`](https://github.com/vektra/mockery/compare/v2.43.2...v2.44.0) [Compare Source](https://github.com/vektra/mockery/compare/v2.43.2...v2.44.0) ### [`v2.43.2`](https://github.com/vektra/mockery/releases/tag/v2.43.2) [Compare Source](https://github.com/vektra/mockery/compare/v2.43.1...v2.43.2) #### Changelog - [`4544845`](https://github.com/vektra/mockery/commit/4544845) Fix an issue with using exclude on windows - [`5a3e47a`](https://github.com/vektra/mockery/commit/5a3e47a) Merge pull request [#&#8203;780](https://github.com/vektra/mockery/issues/780) from iangregsondev/debugging ### [`v2.43.1`](https://github.com/vektra/mockery/releases/tag/v2.43.1) [Compare Source](https://github.com/vektra/mockery/compare/v2.43.0...v2.43.1) #### Changelog - [`2065d36`](https://github.com/vektra/mockery/commit/2065d36) Update migrating\_to\_packages.md ### [`v2.43.0`](https://github.com/vektra/mockery/releases/tag/v2.43.0) [Compare Source](https://github.com/vektra/mockery/compare/v2.42.3...v2.43.0) #### Changelog - [`514021e`](https://github.com/vektra/mockery/commit/514021e) Add docs about `InterfaceFile` - [`527c0c4`](https://github.com/vektra/mockery/commit/527c0c4) Added InterfaceFile - [`25d2eb0`](https://github.com/vektra/mockery/commit/25d2eb0) Merge pull request [#&#8203;773](https://github.com/vektra/mockery/issues/773) from istrau2/patch-1 - [`0229bd4`](https://github.com/vektra/mockery/commit/0229bd4) Merge pull request [#&#8203;776](https://github.com/vektra/mockery/issues/776) from LandonTClipp/master - [`dff9d54`](https://github.com/vektra/mockery/commit/dff9d54) added .InterfaceFile test - [`314f11a`](https://github.com/vektra/mockery/commit/314f11a) fixed .InterfaceFile test ### [`v2.42.3`](https://github.com/vektra/mockery/releases/tag/v2.42.3) [Compare Source](https://github.com/vektra/mockery/compare/v2.42.2...v2.42.3) #### Changelog - [`9b4107f`](https://github.com/vektra/mockery/commit/9b4107f) Fix bug when last argument is a function with multiple return values - [`b1c5f6e`](https://github.com/vektra/mockery/commit/b1c5f6e) Merge pull request [#&#8203;774](https://github.com/vektra/mockery/issues/774) from LandonTClipp/issue\_766 - [`adedaa2`](https://github.com/vektra/mockery/commit/adedaa2) Update codecov.yml - [`a382dd5`](https://github.com/vektra/mockery/commit/a382dd5) remove unnecessary config ### [`v2.42.2`](https://github.com/vektra/mockery/releases/tag/v2.42.2) [Compare Source](https://github.com/vektra/mockery/compare/v2.42.1...v2.42.2) #### Changelog - [`4ac0c5e`](https://github.com/vektra/mockery/commit/4ac0c5e) Bump google.golang.org/protobuf from 1.28.0 to 1.33.0 in /tools - [`f500645`](https://github.com/vektra/mockery/commit/f500645) Merge pull request [#&#8203;768](https://github.com/vektra/mockery/issues/768) from vektra/dependabot/go\_modules/tools/google.golang.org/protobuf-1.33.0 - [`59f7d94`](https://github.com/vektra/mockery/commit/59f7d94) Merge pull request [#&#8203;771](https://github.com/vektra/mockery/issues/771) from dlwyatt/patch-1 - [`dc80845`](https://github.com/vektra/mockery/commit/dc80845) Merge pull request [#&#8203;772](https://github.com/vektra/mockery/issues/772) from testwill/close\_cpu\_profile - [`9820fbb`](https://github.com/vektra/mockery/commit/9820fbb) Update features.md - [`bdfbb23`](https://github.com/vektra/mockery/commit/bdfbb23) fix: close cpu profile ### [`v2.42.1`](https://github.com/vektra/mockery/releases/tag/v2.42.1) [Compare Source](https://github.com/vektra/mockery/compare/v2.42.0...v2.42.1) #### Changelog - [`9dd9b1e`](https://github.com/vektra/mockery/commit/9dd9b1e) Merge pull request [#&#8203;767](https://github.com/vektra/mockery/issues/767) from stevenh/fix/windows-recursive - [`426dc32`](https://github.com/vektra/mockery/commit/426dc32) fix: recursive config failure on windows ### [`v2.42.0`](https://github.com/vektra/mockery/releases/tag/v2.42.0) [Compare Source](https://github.com/vektra/mockery/compare/v2.41.0...v2.42.0) #### Changelog - [`29471fe`](https://github.com/vektra/mockery/commit/29471fe) Add more users of mockery to docs - [`e420a13`](https://github.com/vektra/mockery/commit/e420a13) Add typeset plugin for docs - [`8d53849`](https://github.com/vektra/mockery/commit/8d53849) Factor out logic to exclude sub-modules - [`b915439`](https://github.com/vektra/mockery/commit/b915439) Fix issue with file ordering - [`601d297`](https://github.com/vektra/mockery/commit/601d297) Merge branch 'master' into replace-generic - [`528d354`](https://github.com/vektra/mockery/commit/528d354) Merge branch 'master' into users - [`8b86cf2`](https://github.com/vektra/mockery/commit/8b86cf2) Merge pull request [#&#8203;750](https://github.com/vektra/mockery/issues/750) from DustinJSilk/replace-generic - [`92afb14`](https://github.com/vektra/mockery/commit/92afb14) Merge pull request [#&#8203;759](https://github.com/vektra/mockery/issues/759) from LandonTClipp/users - [`3b25f39`](https://github.com/vektra/mockery/commit/3b25f39) Merge pull request [#&#8203;760](https://github.com/vektra/mockery/issues/760) from LandonTClipp/fix\_ordering - [`f0789fb`](https://github.com/vektra/mockery/commit/f0789fb) Merge pull request [#&#8203;761](https://github.com/vektra/mockery/issues/761) from LandonTClipp/file\_ordering\_gomod - [`e724b8a`](https://github.com/vektra/mockery/commit/e724b8a) Show support for pointer type replacements - [`78755a1`](https://github.com/vektra/mockery/commit/78755a1) fixes - [`d39a2a2`](https://github.com/vektra/mockery/commit/d39a2a2) make codecov more permissive - [`4b08243`](https://github.com/vektra/mockery/commit/4b08243) use replace-type config ### [`v2.41.0`](https://github.com/vektra/mockery/releases/tag/v2.41.0) [Compare Source](https://github.com/vektra/mockery/compare/v2.40.3...v2.41.0) #### Changelog - [`d4e7f57`](https://github.com/vektra/mockery/commit/d4e7f57) Merge pull request [#&#8203;757](https://github.com/vektra/mockery/issues/757) from LandonTClipp/go\_mod\_version - [`2c2727b`](https://github.com/vektra/mockery/commit/2c2727b) Set go.mod to go 1.22 ### [`v2.40.3`](https://github.com/vektra/mockery/releases/tag/v2.40.3) [Compare Source](https://github.com/vektra/mockery/compare/v2.40.2...v2.40.3) #### Changelog - [`3b76444`](https://github.com/vektra/mockery/commit/3b76444) Dockerfile: up go version to 1.22 - [`cd5cc5a`](https://github.com/vektra/mockery/commit/cd5cc5a) Merge pull request [#&#8203;755](https://github.com/vektra/mockery/issues/755) from ifross89/patch-1 ### [`v2.40.2`](https://github.com/vektra/mockery/releases/tag/v2.40.2) [Compare Source](https://github.com/vektra/mockery/compare/v2.40.1...v2.40.2) #### Changelog - [`f513d5d`](https://github.com/vektra/mockery/commit/f513d5d) Merge pull request [#&#8203;753](https://github.com/vektra/mockery/issues/753) from viktorasm/fix-upgrade-x-tools - [`116a183`](https://github.com/vektra/mockery/commit/116a183) update pipeline to test on current ant previous versions - [`2147419`](https://github.com/vektra/mockery/commit/2147419) upgrade X tools to fix panic crash in go 1.22 ### [`v2.40.1`](https://github.com/vektra/mockery/releases/tag/v2.40.1) [Compare Source](https://github.com/vektra/mockery/compare/v2.40.0...v2.40.1) #### Changelog - [`d119c66`](https://github.com/vektra/mockery/commit/d119c66) Add test that asserts mocks on variadic return functions are behaving correctly - [`b6625de`](https://github.com/vektra/mockery/commit/b6625de) Merge branch 'master' into nicovak/fix-707 - [`4854efd`](https://github.com/vektra/mockery/commit/4854efd) Merge pull request [#&#8203;719](https://github.com/vektra/mockery/issues/719) from nicovak/nicovak/fix-707 - [`a032aa0`](https://github.com/vektra/mockery/commit/a032aa0) fix: issue 707 ### [`v2.40.0`](https://github.com/vektra/mockery/releases/tag/v2.40.0) [Compare Source](https://github.com/vektra/mockery/compare/v2.39.2...v2.40.0) #### Changelog - [`1c18f44`](https://github.com/vektra/mockery/commit/1c18f44) Generate mock build constraints - [`2502f52`](https://github.com/vektra/mockery/commit/2502f52) Merge pull request [#&#8203;693](https://github.com/vektra/mockery/issues/693) from mcdoker18/fix/691 - [`58b0c4c`](https://github.com/vektra/mockery/commit/58b0c4c) code review fixes ### [`v2.39.2`](https://github.com/vektra/mockery/releases/tag/v2.39.2) [Compare Source](https://github.com/vektra/mockery/compare/v2.39.1...v2.39.2) #### Changelog - [`0267602`](https://github.com/vektra/mockery/commit/0267602) Merge pull request [#&#8203;746](https://github.com/vektra/mockery/issues/746) from LandonTClipp/master - [`138d507`](https://github.com/vektra/mockery/commit/138d507) Update mkdocs.yml - [`6630b9e`](https://github.com/vektra/mockery/commit/6630b9e) Update mkdocs.yml - [`f5f6808`](https://github.com/vektra/mockery/commit/f5f6808) add google analytics env to build step - [`05ac09b`](https://github.com/vektra/mockery/commit/05ac09b) fix GOOGLE\_ANALYTICS\_KEY ### [`v2.39.1`](https://github.com/vektra/mockery/releases/tag/v2.39.1) [Compare Source](https://github.com/vektra/mockery/compare/v2.39.0...v2.39.1) #### Changelog - [`5c62fda`](https://github.com/vektra/mockery/commit/5c62fda) Add MongoDB as user of mockery - [`a199cfb`](https://github.com/vektra/mockery/commit/a199cfb) Add clarification on internal error - [`5254b81`](https://github.com/vektra/mockery/commit/5254b81) Merge pull request [#&#8203;741](https://github.com/vektra/mockery/issues/741) from LandonTClipp/clarification - [`b9df18e`](https://github.com/vektra/mockery/commit/b9df18e) Merge pull request [#&#8203;742](https://github.com/vektra/mockery/issues/742) from LandonTClipp/mongo ### [`v2.39.0`](https://github.com/vektra/mockery/releases/tag/v2.39.0) [Compare Source](https://github.com/vektra/mockery/compare/v2.38.0...v2.39.0) #### Changelog - [`b248492`](https://github.com/vektra/mockery/commit/b248492) Don't recurse into submodules on `recursive: true` - [`4f9dc15`](https://github.com/vektra/mockery/commit/4f9dc15) Merge pull request [#&#8203;740](https://github.com/vektra/mockery/issues/740) from LandonTClipp/monorepo ### [`v2.38.0`](https://github.com/vektra/mockery/releases/tag/v2.38.0) [Compare Source](https://github.com/vektra/mockery/compare/v2.37.1...v2.38.0) #### Changelog - [`446e0bf`](https://github.com/vektra/mockery/commit/446e0bf) Merge pull request [#&#8203;736](https://github.com/vektra/mockery/issues/736) from mateusmarquezini/issue\_729 - [`445f73c`](https://github.com/vektra/mockery/commit/445f73c) added new check for no return values - [`8e778e0`](https://github.com/vektra/mockery/commit/8e778e0) created a new test to cover the new condition when the test panics [#&#8203;729](https://github.com/vektra/mockery/issues/729) - [`d0fa1f9`](https://github.com/vektra/mockery/commit/d0fa1f9) improvements after code review [#&#8203;729](https://github.com/vektra/mockery/issues/729) - [`432134c`](https://github.com/vektra/mockery/commit/432134c) improvements after code review [#&#8203;729](https://github.com/vektra/mockery/issues/729) ### [`v2.37.1`](https://github.com/vektra/mockery/releases/tag/v2.37.1) [Compare Source](https://github.com/vektra/mockery/compare/v2.37.0...v2.37.1) #### Changelog - [`c7a65e2`](https://github.com/vektra/mockery/commit/c7a65e2) Merge pull request [#&#8203;734](https://github.com/vektra/mockery/issues/734) from vektra/revert-731-walk-skips-modules - [`fa5b6cb`](https://github.com/vektra/mockery/commit/fa5b6cb) Revert "Don't recurse into submodules" ### [`v2.37.0`](https://github.com/vektra/mockery/releases/tag/v2.37.0) [Compare Source](https://github.com/vektra/mockery/compare/v2.36.1...v2.37.0) #### Changelog - [`fc10b9c`](https://github.com/vektra/mockery/commit/fc10b9c) Don't recurse into submodule - [`0e27e93`](https://github.com/vektra/mockery/commit/0e27e93) Merge pull request [#&#8203;731](https://github.com/vektra/mockery/issues/731) from devnev/walk-skips-modules - [`0c5b6a4`](https://github.com/vektra/mockery/commit/0c5b6a4) add note in docs about go.mod skipping ### [`v2.36.1`](https://github.com/vektra/mockery/releases/tag/v2.36.1) [Compare Source](https://github.com/vektra/mockery/compare/v2.36.0...v2.36.1) #### Changelog - [`b648c23`](https://github.com/vektra/mockery/commit/b648c23) Add additional test - [`0310201`](https://github.com/vektra/mockery/commit/0310201) Add fix for showconfig command - [`d3515d1`](https://github.com/vektra/mockery/commit/d3515d1) Fix bug with sub-package inheritance - [`77064ad`](https://github.com/vektra/mockery/commit/77064ad) Fix config bug where mockery crashes when package map is nil - [`5978bc5`](https://github.com/vektra/mockery/commit/5978bc5) Fix test with config initialization - [`deb4860`](https://github.com/vektra/mockery/commit/deb4860) Merge pull request [#&#8203;730](https://github.com/vektra/mockery/issues/730) from LandonTClipp/issue\_726 - [`e86d230`](https://github.com/vektra/mockery/commit/e86d230) Simplifying some config in interface copying code - [`726d76c`](https://github.com/vektra/mockery/commit/726d76c) Update running.md - [`2dd8f00`](https://github.com/vektra/mockery/commit/2dd8f00) Use gotestsum for better testing output ### [`v2.36.0`](https://github.com/vektra/mockery/releases/tag/v2.36.0) [Compare Source](https://github.com/vektra/mockery/compare/v2.35.4...v2.36.0) #### Changelog - [`5d48467`](https://github.com/vektra/mockery/commit/5d48467) Add exclude-regex to config - [`25befa2`](https://github.com/vektra/mockery/commit/25befa2) Cover error conditions in tests - [`b919710`](https://github.com/vektra/mockery/commit/b919710) Merge pull request [#&#8203;720](https://github.com/vektra/mockery/issues/720) from kbolino/718-exclude-regex - [`e8ebf52`](https://github.com/vektra/mockery/commit/e8ebf52) Refactor Config.ShouldGenerateInterface ### [`v2.35.4`](https://github.com/vektra/mockery/releases/tag/v2.35.4) [Compare Source](https://github.com/vektra/mockery/compare/v2.35.3...v2.35.4) #### Changelog - [`8939c75`](https://github.com/vektra/mockery/commit/8939c75) Update release to use Go 1.21 ### [`v2.35.3`](https://github.com/vektra/mockery/releases/tag/v2.35.3) [Compare Source](https://github.com/vektra/mockery/compare/v2.35.2...v2.35.3) #### Changelog - [`9d79f3a`](https://github.com/vektra/mockery/commit/9d79f3a) fix docs ### [`v2.35.2`](https://github.com/vektra/mockery/releases/tag/v2.35.2) [Compare Source](https://github.com/vektra/mockery/compare/v2.35.1...v2.35.2) #### Changelog - [`ee33b3d`](https://github.com/vektra/mockery/commit/ee33b3d) - take type in account when using import replace types - check more specific replace types first - [`246df9d`](https://github.com/vektra/mockery/commit/246df9d) Merge pull request [#&#8203;710](https://github.com/vektra/mockery/issues/710) from RangelReale/replace-types-specific ### [`v2.35.1`](https://github.com/vektra/mockery/releases/tag/v2.35.1) [Compare Source](https://github.com/vektra/mockery/compare/v2.35.0...v2.35.1) #### Changelog - [`f54eea9`](https://github.com/vektra/mockery/commit/f54eea9) update doc formatting for deprecated variables ### [`v2.35.0`](https://github.com/vektra/mockery/releases/tag/v2.35.0) [Compare Source](https://github.com/vektra/mockery/compare/v2.34.2...v2.35.0) #### Changelog - [`6c20c91`](https://github.com/vektra/mockery/commit/6c20c91) Merge pull request [#&#8203;705](https://github.com/vektra/mockery/issues/705) from SirSova/feature/702 - [`7e62022`](https://github.com/vektra/mockery/commit/7e62022) add deprecations for custom InterfaceName template variables - [`344a291`](https://github.com/vektra/mockery/commit/344a291) add new template funcs - [`2835751`](https://github.com/vektra/mockery/commit/2835751) fix doc syntax of new functions - [`d094664`](https://github.com/vektra/mockery/commit/d094664) remove "title" func - [`8b0b6a3`](https://github.com/vektra/mockery/commit/8b0b6a3) return back "strcase" functions for InterfaceName ### [`v2.34.2`](https://github.com/vektra/mockery/releases/tag/v2.34.2) [Compare Source](https://github.com/vektra/mockery/compare/v2.34.1...v2.34.2) #### Changelog - [`b6f77ea`](https://github.com/vektra/mockery/commit/b6f77ea) Dockerfile: up go version to 1.21 - [`1ffe649`](https://github.com/vektra/mockery/commit/1ffe649) Merge pull request [#&#8203;717](https://github.com/vektra/mockery/issues/717) from evsamsonov/docker-up-go-version ### [`v2.34.1`](https://github.com/vektra/mockery/releases/tag/v2.34.1) [Compare Source](https://github.com/vektra/mockery/compare/v2.34.0...v2.34.1) #### Changelog - [`3871351`](https://github.com/vektra/mockery/commit/3871351) Add Amazon as user of mockery - [`ba9fb21`](https://github.com/vektra/mockery/commit/ba9fb21) Disable `max-width` for docs, add table sorting - [`0749788`](https://github.com/vektra/mockery/commit/0749788) Merge pull request [#&#8203;714](https://github.com/vektra/mockery/issues/714) from LandonTClipp/width - [`37f1efc`](https://github.com/vektra/mockery/commit/37f1efc) Remove unnecessary attributes ### [`v2.34.0`](https://github.com/vektra/mockery/releases/tag/v2.34.0) [Compare Source](https://github.com/vektra/mockery/compare/v2.33.3...v2.34.0) #### Changelog - [`6ebdb50`](https://github.com/vektra/mockery/commit/6ebdb50) Add docs for `exclude` - [`a4a945a`](https://github.com/vektra/mockery/commit/a4a945a) Merge pull request [#&#8203;709](https://github.com/vektra/mockery/issues/709) from kpaulisse/kpaulisse-packages-excludes - [`8262d05`](https://github.com/vektra/mockery/commit/8262d05) Merge pull request [#&#8203;711](https://github.com/vektra/mockery/issues/711) from LandonTClipp/exclude\_docs - [`6a48ff3`](https://github.com/vektra/mockery/commit/6a48ff3) Support "exclude" in package config - [`1407ff8`](https://github.com/vektra/mockery/commit/1407ff8) Update error to use NewStackErrf ### [`v2.33.3`](https://github.com/vektra/mockery/releases/tag/v2.33.3) [Compare Source](https://github.com/vektra/mockery/compare/v2.33.2...v2.33.3) #### Changelog - [`6f51f40`](https://github.com/vektra/mockery/commit/6f51f40) Add config examples to migration docs - [`72c48ed`](https://github.com/vektra/mockery/commit/72c48ed) Merge pull request [#&#8203;704](https://github.com/vektra/mockery/issues/704) from LandonTClipp/migration\_docs ### [`v2.33.2`](https://github.com/vektra/mockery/releases/tag/v2.33.2) [Compare Source](https://github.com/vektra/mockery/compare/v2.33.1...v2.33.2) #### Changelog - [`4e964a8`](https://github.com/vektra/mockery/commit/4e964a8) Merge pull request [#&#8203;699](https://github.com/vektra/mockery/issues/699) from jokly/master - [`09e78f7`](https://github.com/vektra/mockery/commit/09e78f7) add a separate test - [`80c5909`](https://github.com/vektra/mockery/commit/80c5909) fix expecter and void rolled varaidic - [`73a6a6f`](https://github.com/vektra/mockery/commit/73a6a6f) generate variadic call by template ### [`v2.33.1`](https://github.com/vektra/mockery/releases/tag/v2.33.1) [Compare Source](https://github.com/vektra/mockery/compare/v2.33.0...v2.33.1) #### Changelog - [`1bcc958`](https://github.com/vektra/mockery/commit/1bcc958) Add gcc to docker for projects with cgo - [`74e483d`](https://github.com/vektra/mockery/commit/74e483d) Merge pull request [#&#8203;694](https://github.com/vektra/mockery/issues/694) from jokly/master - [`8965d12`](https://github.com/vektra/mockery/commit/8965d12) Merge pull request [#&#8203;698](https://github.com/vektra/mockery/issues/698) from LandonTClipp/badcode - [`6111fde`](https://github.com/vektra/mockery/commit/6111fde) Minor refactor of ShouldGenerateInterface - [`b9a1e11`](https://github.com/vektra/mockery/commit/b9a1e11) Remove code that was not being used ### [`v2.33.0`](https://github.com/vektra/mockery/releases/tag/v2.33.0) [Compare Source](https://github.com/vektra/mockery/compare/v2.32.4...v2.33.0) #### Changelog - [`15d6920`](https://github.com/vektra/mockery/commit/15d6920) Add support for `include-regex` option. - [`6ada211`](https://github.com/vektra/mockery/commit/6ada211) Merge pull request [#&#8203;692](https://github.com/vektra/mockery/issues/692) from leaanthony-sc/684\_include\_regex - [`b83433d`](https://github.com/vektra/mockery/commit/b83433d) Update documentation. Format tables. ### [`v2.32.4`](https://github.com/vektra/mockery/releases/tag/v2.32.4) [Compare Source](https://github.com/vektra/mockery/compare/v2.32.3...v2.32.4) #### Changelog - [`871f904`](https://github.com/vektra/mockery/commit/871f904) Add e2e tests for issue [#&#8203;681](https://github.com/vektra/mockery/issues/681) - [`72eb146`](https://github.com/vektra/mockery/commit/72eb146) Add error log for unsupported config - [`2046503`](https://github.com/vektra/mockery/commit/2046503) Merge pull request [#&#8203;683](https://github.com/vektra/mockery/issues/683) from LandonTClipp/issue\_681\_e2e - [`8abb702`](https://github.com/vektra/mockery/commit/8abb702) Merge pull request [#&#8203;686](https://github.com/vektra/mockery/issues/686) from LandonTClipp/issue\_685 ### [`v2.32.3`](https://github.com/vektra/mockery/releases/tag/v2.32.3) [Compare Source](https://github.com/vektra/mockery/compare/v2.32.2...v2.32.3) #### Changelog - [`3b725d9`](https://github.com/vektra/mockery/commit/3b725d9) Include auto-generated files in recursive discovery by default - [`dbad753`](https://github.com/vektra/mockery/commit/dbad753) Merge pull request [#&#8203;682](https://github.com/vektra/mockery/issues/682) from LandonTClipp/issue\_681 - [`b70c07a`](https://github.com/vektra/mockery/commit/b70c07a) Update documentation for `include-auto-generated` ### [`v2.32.2`](https://github.com/vektra/mockery/releases/tag/v2.32.2) [Compare Source](https://github.com/vektra/mockery/compare/v2.32.1...v2.32.2) #### Changelog - [`532f248`](https://github.com/vektra/mockery/commit/532f248) Update documentation.yml ### [`v2.32.1`](https://github.com/vektra/mockery/releases/tag/v2.32.1) [Compare Source](https://github.com/vektra/mockery/compare/v2.32.0...v2.32.1) #### Changelog - [`400f162`](https://github.com/vektra/mockery/commit/400f162) Update users list ### [`v2.32.0`](https://github.com/vektra/mockery/releases/tag/v2.32.0) [Compare Source](https://github.com/vektra/mockery/compare/v2.31.4...v2.32.0) #### Changelog - [`5e1ff90`](https://github.com/vektra/mockery/commit/5e1ff90) Adds InterfaceNameLower as a templating variable - [`ffc7a42`](https://github.com/vektra/mockery/commit/ffc7a42) Adds InterfaceNameLower to docs - [`6e6efc2`](https://github.com/vektra/mockery/commit/6e6efc2) Fixes spelling - [`8c06cfc`](https://github.com/vektra/mockery/commit/8c06cfc) Merge pull request [#&#8203;672](https://github.com/vektra/mockery/issues/672) from hohmannr/feat/interface-name-lower ### [`v2.31.4`](https://github.com/vektra/mockery/releases/tag/v2.31.4) [Compare Source](https://github.com/vektra/mockery/compare/v2.31.3...v2.31.4) #### Changelog - [`b5592d6`](https://github.com/vektra/mockery/commit/b5592d6) fix installation again (code block needs to be in javascript) ### [`v2.31.3`](https://github.com/vektra/mockery/releases/tag/v2.31.3) [Compare Source](https://github.com/vektra/mockery/compare/v2.31.2...v2.31.3) #### Changelog - [`903445b`](https://github.com/vektra/mockery/commit/903445b) fix installation docs ### [`v2.31.2`](https://github.com/vektra/mockery/releases/tag/v2.31.2) [Compare Source](https://github.com/vektra/mockery/compare/v2.31.1...v2.31.2) #### Changelog - [`8385b8c`](https://github.com/vektra/mockery/commit/8385b8c) Merge pull request [#&#8203;669](https://github.com/vektra/mockery/issues/669) from OrHayat/docs\_go\_install\_fetch\_latest\_release - [`4a425a8`](https://github.com/vektra/mockery/commit/4a425a8) installation docs will fetch latest relase from github api and inject it into go install command - [`6399f5b`](https://github.com/vektra/mockery/commit/6399f5b) update configuration docs ### [`v2.31.1`](https://github.com/vektra/mockery/releases/tag/v2.31.1) [Compare Source](https://github.com/vektra/mockery/compare/v2.31.0...v2.31.1) #### Changelog - [`c72170a`](https://github.com/vektra/mockery/commit/c72170a) Update examples.md ### [`v2.31.0`](https://github.com/vektra/mockery/releases/tag/v2.31.0) [Compare Source](https://github.com/vektra/mockery/compare/v2.30.18...v2.31.0) #### Changelog - [`a43101b`](https://github.com/vektra/mockery/commit/a43101b) Add deprecation notice for old config style - [`7696d20`](https://github.com/vektra/mockery/commit/7696d20) Merge pull request [#&#8203;668](https://github.com/vektra/mockery/issues/668) from LandonTClipp/deprecation ### [`v2.30.18`](https://github.com/vektra/mockery/releases/tag/v2.30.18) [Compare Source](https://github.com/vektra/mockery/compare/v2.30.17...v2.30.18) #### Changelog - [`0d3aeea`](https://github.com/vektra/mockery/commit/0d3aeea) Fix goreleaser config deprecation - [`7a91185`](https://github.com/vektra/mockery/commit/7a91185) Merge pull request [#&#8203;667](https://github.com/vektra/mockery/issues/667) from LandonTClipp/goreleaser ### [`v2.30.17`](https://github.com/vektra/mockery/compare/v2.30.16...v2.30.17) [Compare Source](https://github.com/vektra/mockery/compare/v2.30.16...v2.30.17) ### [`v2.30.16`](https://github.com/vektra/mockery/releases/tag/v2.30.16) [Compare Source](https://github.com/vektra/mockery/compare/v2.30.15...v2.30.16) #### Changelog - [`15a4f69`](https://github.com/vektra/mockery/commit/15a4f69) [#&#8203;648](https://github.com/vektra/mockery/issues/648): add tests - [`2a69b15`](https://github.com/vektra/mockery/commit/2a69b15) [#&#8203;648](https://github.com/vektra/mockery/issues/648): fix invalid code generation when interface method parameter's name is the same as interface name - [`97cd18b`](https://github.com/vektra/mockery/commit/97cd18b) Merge pull request [#&#8203;649](https://github.com/vektra/mockery/issues/649) from kozmod/bugfix/648\_fix\_method\_args\_generation ### [`v2.30.15`](https://github.com/vektra/mockery/releases/tag/v2.30.15) [Compare Source](https://github.com/vektra/mockery/compare/v2.30.14...v2.30.15) #### Changelog - [`d219b89`](https://github.com/vektra/mockery/commit/d219b89) updates ### [`v2.30.14`](https://github.com/vektra/mockery/releases/tag/v2.30.14) [Compare Source](https://github.com/vektra/mockery/compare/v2.30.13...v2.30.14) #### Changelog - [`4f94538`](https://github.com/vektra/mockery/commit/4f94538) updates ### [`v2.30.13`](https://github.com/vektra/mockery/releases/tag/v2.30.13) [Compare Source](https://github.com/vektra/mockery/compare/v2.30.12...v2.30.13) #### Changelog - [`f43a9bb`](https://github.com/vektra/mockery/commit/f43a9bb) updates to docs ### [`v2.30.12`](https://github.com/vektra/mockery/releases/tag/v2.30.12) [Compare Source](https://github.com/vektra/mockery/compare/v2.30.11...v2.30.12) #### Changelog - [`2810894`](https://github.com/vektra/mockery/commit/2810894) build docs only for minor version ### [`v2.30.11`](https://github.com/vektra/mockery/releases/tag/v2.30.11) [Compare Source](https://github.com/vektra/mockery/compare/v2.30.10...v2.30.11) #### Changelog - [`c5063c7`](https://github.com/vektra/mockery/commit/c5063c7) Correct typos in docs - [`78607b7`](https://github.com/vektra/mockery/commit/78607b7) Fixing links with versioned docs - [`0fb1cfc`](https://github.com/vektra/mockery/commit/0fb1cfc) Merge pull request [#&#8203;658](https://github.com/vektra/mockery/issues/658) from alexandear/correct-docs-typo ### [`v2.30.10`](https://github.com/vektra/mockery/releases/tag/v2.30.10) [Compare Source](https://github.com/vektra/mockery/compare/v2.30.9...v2.30.10) #### Changelog - [`adead84`](https://github.com/vektra/mockery/commit/adead84) Update mkdocs.yml ### [`v2.30.9`](https://github.com/vektra/mockery/releases/tag/v2.30.9) [Compare Source](https://github.com/vektra/mockery/compare/v2.30.8...v2.30.9) #### Changelog - [`55c3920`](https://github.com/vektra/mockery/commit/55c3920) Update documentation.yml ### [`v2.30.8`](https://github.com/vektra/mockery/compare/v2.30.7...v2.30.8) [Compare Source](https://github.com/vektra/mockery/compare/v2.30.7...v2.30.8) ### [`v2.30.7`](https://github.com/vektra/mockery/releases/tag/v2.30.7) [Compare Source](https://github.com/vektra/mockery/compare/v2.30.6...v2.30.7) #### Changelog - [`55c3920`](https://github.com/vektra/mockery/commit/55c3920) Update documentation.yml ### [`v2.30.6`](https://github.com/vektra/mockery/releases/tag/v2.30.6) [Compare Source](https://github.com/vektra/mockery/compare/v2.30.5...v2.30.6) #### Changelog - [`567d722`](https://github.com/vektra/mockery/commit/567d722) Update documentation.yml ### [`v2.30.5`](https://github.com/vektra/mockery/releases/tag/v2.30.5) [Compare Source](https://github.com/vektra/mockery/compare/v2.30.4...v2.30.5) #### Changelog - [`44ddbc2`](https://github.com/vektra/mockery/commit/44ddbc2) Update documentation.yml ### [`v2.30.4`](https://github.com/vektra/mockery/releases/tag/v2.30.4) [Compare Source](https://github.com/vektra/mockery/compare/v2.30.3...v2.30.4) #### Changelog - [`6c8fb71`](https://github.com/vektra/mockery/commit/6c8fb71) Update documentation.yml ### [`v2.30.3`](https://github.com/vektra/mockery/releases/tag/v2.30.3) [Compare Source](https://github.com/vektra/mockery/compare/v2.30.2...v2.30.3) #### Changelog - [`5cfebcb`](https://github.com/vektra/mockery/commit/5cfebcb) Add mike versioning to docs - [`e97a258`](https://github.com/vektra/mockery/commit/e97a258) Chore: Update version in the docs. - [`f4a0a36`](https://github.com/vektra/mockery/commit/f4a0a36) Merge pull request [#&#8203;641](https://github.com/vektra/mockery/issues/641) from CoolGoose/patch-1 - [`ec88c00`](https://github.com/vektra/mockery/commit/ec88c00) Merge pull request [#&#8203;645](https://github.com/vektra/mockery/issues/645) from vektra/LandonTClipp-patch-1 - [`8cb1114`](https://github.com/vektra/mockery/commit/8cb1114) Merge pull request [#&#8203;652](https://github.com/vektra/mockery/issues/652) from LandonTClipp/mike - [`0a35012`](https://github.com/vektra/mockery/commit/0a35012) Merge pull request [#&#8203;653](https://github.com/vektra/mockery/issues/653) from vektra/LandonTClipp-patch-1 - [`9c9f846`](https://github.com/vektra/mockery/commit/9c9f846) Merge pull request [#&#8203;654](https://github.com/vektra/mockery/issues/654) from vektra/LandonTClipp-patch-1 - [`73c5411`](https://github.com/vektra/mockery/commit/73c5411) Merge pull request [#&#8203;655](https://github.com/vektra/mockery/issues/655) from vektra/LandonTClipp-patch-1 - [`75252f4`](https://github.com/vektra/mockery/commit/75252f4) Merge pull request [#&#8203;656](https://github.com/vektra/mockery/issues/656) from vektra/LandonTClipp-patch-1 - [`9a4a94d`](https://github.com/vektra/mockery/commit/9a4a94d) Update CONTRIBUTING.md - [`5663573`](https://github.com/vektra/mockery/commit/5663573) Update and rename static.yml to documentation.yml - [`f62e9aa`](https://github.com/vektra/mockery/commit/f62e9aa) Update docs for issue [#&#8203;391](https://github.com/vektra/mockery/issues/391) - [`a3fba0c`](https://github.com/vektra/mockery/commit/a3fba0c) Update documentation.yml - [`dedf67d`](https://github.com/vektra/mockery/commit/dedf67d) Update features.md - [`cc3d18e`](https://github.com/vektra/mockery/commit/cc3d18e) Update requirements.txt - [`9dec7c7`](https://github.com/vektra/mockery/commit/9dec7c7) Update static.yml - [`911ab4d`](https://github.com/vektra/mockery/commit/911ab4d) Update static.yml - [`d406627`](https://github.com/vektra/mockery/commit/d406627) Update static.yml - [`45b5169`](https://github.com/vektra/mockery/commit/45b5169) Update static.yml - [`3f9cb26`](https://github.com/vektra/mockery/commit/3f9cb26) typo in docs ### [`v2.30.2`](https://github.com/vektra/mockery/releases/tag/v2.30.2) [Compare Source](https://github.com/vektra/mockery/compare/v2.30.1...v2.30.2) #### Changelog - [`5cfebcb`](https://github.com/vektra/mockery/commit/5cfebcb) Add mike versioning to docs - [`e97a258`](https://github.com/vektra/mockery/commit/e97a258) Chore: Update version in the docs. - [`f4a0a36`](https://github.com/vektra/mockery/commit/f4a0a36) Merge pull request [#&#8203;641](https://github.com/vektra/mockery/issues/641) from CoolGoose/patch-1 - [`ec88c00`](https://github.com/vektra/mockery/commit/ec88c00) Merge pull request [#&#8203;645](https://github.com/vektra/mockery/issues/645) from vektra/LandonTClipp-patch-1 - [`8cb1114`](https://github.com/vektra/mockery/commit/8cb1114) Merge pull request [#&#8203;652](https://github.com/vektra/mockery/issues/652) from LandonTClipp/mike - [`0a35012`](https://github.com/vektra/mockery/commit/0a35012) Merge pull request [#&#8203;653](https://github.com/vektra/mockery/issues/653) from vektra/LandonTClipp-patch-1 - [`9c9f846`](https://github.com/vektra/mockery/commit/9c9f846) Merge pull request [#&#8203;654](https://github.com/vektra/mockery/issues/654) from vektra/LandonTClipp-patch-1 - [`73c5411`](https://github.com/vektra/mockery/commit/73c5411) Merge pull request [#&#8203;655](https://github.com/vektra/mockery/issues/655) from vektra/LandonTClipp-patch-1 - [`75252f4`](https://github.com/vektra/mockery/commit/75252f4) Merge pull request [#&#8203;656](https://github.com/vektra/mockery/issues/656) from vektra/LandonTClipp-patch-1 - [`9a4a94d`](https://github.com/vektra/mockery/commit/9a4a94d) Update CONTRIBUTING.md - [`5663573`](https://github.com/vektra/mockery/commit/5663573) Update and rename static.yml to documentation.yml - [`f62e9aa`](https://github.com/vektra/mockery/commit/f62e9aa) Update docs for issue [#&#8203;391](https://github.com/vektra/mockery/issues/391) - [`a3fba0c`](https://github.com/vektra/mockery/commit/a3fba0c) Update documentation.yml - [`dedf67d`](https://github.com/vektra/mockery/commit/dedf67d) Update features.md - [`cc3d18e`](https://github.com/vektra/mockery/commit/cc3d18e) Update requirements.txt - [`9dec7c7`](https://github.com/vektra/mockery/commit/9dec7c7) Update static.yml - [`911ab4d`](https://github.com/vektra/mockery/commit/911ab4d) Update static.yml - [`d406627`](https://github.com/vektra/mockery/commit/d406627) Update static.yml - [`45b5169`](https://github.com/vektra/mockery/commit/45b5169) Update static.yml - [`3f9cb26`](https://github.com/vektra/mockery/commit/3f9cb26) typo in docs ### [`v2.30.1`](https://github.com/vektra/mockery/releases/tag/v2.30.1) [Compare Source](https://github.com/vektra/mockery/compare/v2.30.0...v2.30.1) #### Changelog - [`365d1b5`](https://github.com/vektra/mockery/commit/365d1b5) Merge pull request [#&#8203;638](https://github.com/vektra/mockery/issues/638) from cszczepaniak/cs/remove\_pkg\_errors - [`99c9dd8`](https://github.com/vektra/mockery/commit/99c9dd8) add GetStack and tests to stackerr pkg - [`a143b36`](https://github.com/vektra/mockery/commit/a143b36) add stackerr for stack traces - [`935b51d`](https://github.com/vektra/mockery/commit/935b51d) remove pkg errors dep - [`1ca3fd7`](https://github.com/vektra/mockery/commit/1ca3fd7) replace usages of pkg/errors ### [`v2.30.0`](https://github.com/vektra/mockery/releases/tag/v2.30.0) [Compare Source](https://github.com/vektra/mockery/compare/v2.29.0...v2.30.0) #### Changelog - [`7d5b1fc`](https://github.com/vektra/mockery/commit/7d5b1fc) Fixing mockery infinitely generating interfaces - [`e85f2c0`](https://github.com/vektra/mockery/commit/e85f2c0) Merge pull request [#&#8203;640](https://github.com/vektra/mockery/issues/640) from LandonTClipp/issue\_632 - [`d667a59`](https://github.com/vektra/mockery/commit/d667a59) Update changelog.md ### [`v2.29.0`](https://github.com/vektra/mockery/releases/tag/v2.29.0) [Compare Source](https://github.com/vektra/mockery/compare/v2.28.2...v2.29.0) #### Changelog - [`0f20101`](https://github.com/vektra/mockery/commit/0f20101) Add "tex/template" functions to outputter and generator These templates function allow for in-config "path" manipulation within the template rendering logic. This will allow for a much more flexible control over where written Mocks end up. - [`0fd4361`](https://github.com/vektra/mockery/commit/0fd4361) Merge pull request [#&#8203;639](https://github.com/vektra/mockery/issues/639) from jippi/fix-path ### [`v2.28.2`](https://github.com/vektra/mockery/releases/tag/v2.28.2) [Compare Source](https://github.com/vektra/mockery/compare/v2.28.1...v2.28.2) #### Changelog - [`7a3849d`](https://github.com/vektra/mockery/commit/7a3849d) Add link to docs for empty package directory error - [`1baf2ee`](https://github.com/vektra/mockery/commit/1baf2ee) Merge pull request [#&#8203;637](https://github.com/vektra/mockery/issues/637) from LandonTClipp/issue\_611 - [`b98dd8b`](https://github.com/vektra/mockery/commit/b98dd8b) Update notes.md - [`70c778d`](https://github.com/vektra/mockery/commit/70c778d) Update notes.md ### [`v2.28.1`](https://github.com/vektra/mockery/releases/tag/v2.28.1) [Compare Source](https://github.com/vektra/mockery/compare/v2.28.0...v2.28.1) #### Changelog - [`423eab1`](https://github.com/vektra/mockery/commit/423eab1) Merge pull request [#&#8203;635](https://github.com/vektra/mockery/issues/635) from adolsalamanca/adol/fix-pathlib-version - [`2c4bf4d`](https://github.com/vektra/mockery/commit/2c4bf4d) fix pathlib version ### [`v2.28.0`](https://github.com/vektra/mockery/releases/tag/v2.28.0) [Compare Source](https://github.com/vektra/mockery/compare/v2.27.1...v2.28.0) #### Changelog - [`311c394`](https://github.com/vektra/mockery/commit/311c394) Add reference to packages feature section - [`0e49266`](https://github.com/vektra/mockery/commit/0e49266) Merge pull request [#&#8203;627](https://github.com/vektra/mockery/issues/627) from almas1992/patch-1 - [`d0c93f6`](https://github.com/vektra/mockery/commit/d0c93f6) Merge pull request [#&#8203;629](https://github.com/vektra/mockery/issues/629) from dillonstreator/expecter-structs-with-rolled-variadics - [`425c292`](https://github.com/vektra/mockery/commit/425c292) Update examples.md - [`15a308a`](https://github.com/vektra/mockery/commit/15a308a) adjust testing pattern - [`b964d01`](https://github.com/vektra/mockery/commit/b964d01) clarify variadic docs - [`db3556e`](https://github.com/vektra/mockery/commit/db3556e) fix broken link - [`fe8de93`](https://github.com/vektra/mockery/commit/fe8de93) fix packages docs - [`25091d2`](https://github.com/vektra/mockery/commit/25091d2) support rolled variadics with expecter structs - [`ae9feff`](https://github.com/vektra/mockery/commit/ae9feff) test should use require and remove incorrect messages ### [`v2.27.1`](https://github.com/vektra/mockery/releases/tag/v2.27.1) [Compare Source](https://github.com/vektra/mockery/compare/v2.27.0...v2.27.1) #### Changelog - [`57df870`](https://github.com/vektra/mockery/commit/57df870) Merge pull request [#&#8203;626](https://github.com/vektra/mockery/issues/626) from LandonTClipp/packages\_beta - [`6359747`](https://github.com/vektra/mockery/commit/6359747) Move `packages` to a beta state - [`b1a302a`](https://github.com/vektra/mockery/commit/b1a302a) Update features.md - [`b3d99dd`](https://github.com/vektra/mockery/commit/b3d99dd) Update migrating\_to\_packages.md ### [`v2.27.0`](https://github.com/vektra/mockery/releases/tag/v2.27.0) [Compare Source](https://github.com/vektra/mockery/compare/v2.26.1...v2.27.0) #### Changelog - [`66f7b66`](https://github.com/vektra/mockery/commit/66f7b66) Add InterfaceDirRelative template variable - [`fd7a1ab`](https://github.com/vektra/mockery/commit/fd7a1ab) Add docs for `boilerplate-file` - [`18a0dba`](https://github.com/vektra/mockery/commit/18a0dba) Add packages migration docs - [`1c1eeea`](https://github.com/vektra/mockery/commit/1c1eeea) Merge pull request [#&#8203;615](https://github.com/vektra/mockery/issues/615) from neverbeenthisweeb/neverbeenthisweeb/613-remove-debug-msg - [`587e962`](https://github.com/vektra/mockery/commit/587e962) Merge pull request [#&#8203;620](https://github.com/vektra/mockery/issues/620) from vektra/docs - [`05d270e`](https://github.com/vektra/mockery/commit/05d270e) Merge pull request [#&#8203;622](https://github.com/vektra/mockery/issues/622) from LandonTClipp/migration - [`f9586f1`](https://github.com/vektra/mockery/commit/f9586f1) Merge pull request [#&#8203;625](https://github.com/vektra/mockery/issues/625) from LandonTClipp/issue\_623 - [`4c99dea`](https://github.com/vektra/mockery/commit/4c99dea) Remove debug log - [`0e520a4`](https://github.com/vektra/mockery/commit/0e520a4) fix extra pipe </details> --- ### Configuration 📅 **Schedule**: Branch creation - Between 12:00 AM and 03:59 AM ( * 0-3 * * * ) (UTC), Automerge - Between 12:00 AM and 03:59 AM ( * 0-3 * * * ) (UTC). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS4xNy4yIiwidXBkYXRlZEluVmVyIjoiNDEuMTcuMiIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==--> Reviewed-on: https://code.forgejo.org/forgejo/runner/pulls/658 Reviewed-by: earl-warren <earl-warren@noreply.code.forgejo.org> Co-authored-by: Renovate Bot <bot@kriese.eu> Co-committed-by: Renovate Bot <bot@kriese.eu>
2025-07-04 06:49:18 +00:00
MOCKERY_PACKAGE ?= github.com/vektra/mockery/v2@v2.53.4 # renovate: datasource=go
Update module github.com/golangci/golangci-lint/v2/cmd/golangci-lint to v2.3.1 (#802) This PR contains the following updates: | Package | Change | Age | Confidence | |---|---|---|---| | [github.com/golangci/golangci-lint/v2/cmd/golangci-lint](https://github.com/golangci/golangci-lint) | `v2.3.0` -> `v2.3.1` | [![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fgolangci%2fgolangci-lint%2fv2%2fcmd%2fgolangci-lint/v2.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fgolangci%2fgolangci-lint%2fv2%2fcmd%2fgolangci-lint/v2.3.0/v2.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>golangci/golangci-lint (github.com/golangci/golangci-lint/v2/cmd/golangci-lint)</summary> ### [`v2.3.1`](https://github.com/golangci/golangci-lint/blob/HEAD/CHANGELOG.md#v231) [Compare Source](https://github.com/golangci/golangci-lint/compare/v2.3.0...v2.3.1) 1. Linters bug fixes - `gci`: from 0.13.6 to 0.13.7 - `gosec`: from 2.22.6 to 2.22.7 - `noctx`: from 0.3.5 to 0.4.0 - `wsl`: from 5.1.0 to 5.1.1 - tagliatelle: force upper case for custom initialisms </details> --- ### Configuration 📅 **Schedule**: Branch creation - Between 12:00 AM and 03:59 AM ( * 0-3 * * * ) (UTC), Automerge - Between 12:00 AM and 03:59 AM ( * 0-3 * * * ) (UTC). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS40My41IiwidXBkYXRlZEluVmVyIjoiNDEuNDMuNSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==--> Reviewed-on: https://code.forgejo.org/forgejo/runner/pulls/802 Reviewed-by: earl-warren <earl-warren@noreply.code.forgejo.org> Co-authored-by: Renovate Bot <bot@kriese.eu> Co-committed-by: Renovate Bot <bot@kriese.eu>
2025-08-03 07:20:54 +00:00
GOLANGCI_LINT_PACKAGE ?= github.com/golangci/golangci-lint/v2/cmd/golangci-lint@v2.3.1 # renovate: datasource=go
DOCKER_IMAGE ?= gitea/act_runner
DOCKER_TAG ?= nightly
DOCKER_REF := $(DOCKER_IMAGE):$(DOCKER_TAG)
DOCKER_ROOTLESS_REF := $(DOCKER_IMAGE):$(DOCKER_TAG)-dind-rootless
2023-04-30 18:13:11 +02:00
EXTLDFLAGS = -extldflags "-static" $(null)
ifeq ($(HAS_GO), GO)
GOPATH ?= $(shell $(GO) env GOPATH)
export PATH := $(GOPATH)/bin:$(PATH)
CGO_EXTRA_CFLAGS := -DSQLITE_MAX_VARIABLE_NUMBER=32766
CGO_CFLAGS ?= $(shell $(GO) env CGO_CFLAGS) $(CGO_EXTRA_CFLAGS)
endif
ifeq ($(OS), Windows_NT)
GOFLAGS := -v -buildmode=exe
EXECUTABLE ?= $(EXECUTABLE).exe
else ifeq ($(OS), Windows)
GOFLAGS := -v -buildmode=exe
EXECUTABLE ?= $(EXECUTABLE).exe
else
GOFLAGS := -v
EXECUTABLE ?= $(EXECUTABLE)
endif
STORED_VERSION_FILE := VERSION
ifneq ($(DRONE_TAG),)
VERSION ?= $(subst v,,$(DRONE_TAG))
RELEASE_VERSION ?= $(VERSION)
else
ifneq ($(DRONE_BRANCH),)
VERSION ?= $(subst release/v,,$(DRONE_BRANCH))
else
VERSION ?= main
endif
STORED_VERSION=$(shell cat $(STORED_VERSION_FILE) 2>/dev/null)
ifneq ($(STORED_VERSION),)
RELEASE_VERSION ?= $(STORED_VERSION)
else
RELEASE_VERSION ?= $(shell git describe --tags --always | sed 's/-/+/' | sed 's/^v//')
endif
endif
GO_PACKAGES_TO_VET ?= $(filter-out code.forgejo.org/forgejo/runner/v9/internal/pkg/client/mocks,$(shell $(GO) list ./...))
TAGS ?=
LDFLAGS ?= -X "code.forgejo.org/forgejo/runner/v9/internal/pkg/ver.version=v$(RELEASE_VERSION)"
all: build
.PHONY: lint
lint-check:
$(GO) run $(GOLANGCI_LINT_PACKAGE) run $(GOLANGCI_LINT_ARGS)
.PHONY: lint-fix
lint:
$(GO) run $(GOLANGCI_LINT_PACKAGE) run $(GOLANGCI_LINT_ARGS) --fix
fmt:
@hash gofumpt > /dev/null 2>&1; if [ $$? -ne 0 ]; then \
$(GO) install mvdan.cc/gofumpt@latest; \
fi
$(GOFMT) -w $(GO_FMT_FILES)
.PHONY: go-check
go-check:
$(eval MIN_GO_VERSION_STR := $(shell grep -Eo '^go\s+[0-9]+\.[0-9]+' go.mod | cut -d' ' -f2))
$(eval MIN_GO_VERSION := $(shell printf "%03d%03d" $(shell echo '$(MIN_GO_VERSION_STR)' | tr '.' ' ')))
$(eval GO_VERSION := $(shell printf "%03d%03d" $(shell $(GO) version | grep -Eo '[0-9]+\.[0-9]+' | tr '.' ' ');))
@if [ "$(GO_VERSION)" -lt "$(MIN_GO_VERSION)" ]; then \
echo "Act Runner requires Go $(MIN_GO_VERSION_STR) or greater to build. You can get it at https://go.dev/dl/"; \
exit 1; \
fi
.PHONY: fmt-check
fmt-check:
@hash gofumpt > /dev/null 2>&1; if [ $$? -ne 0 ]; then \
$(GO) install mvdan.cc/gofumpt@latest; \
fi
@diff=$$($(GOFMT) -d $(GO_FMT_FILES)); \
if [ -n "$$diff" ]; then \
echo "Please run 'make fmt' and commit the result:"; \
echo "$${diff}"; \
exit 1; \
fi;
test: lint-check fmt-check
@$(GO) test -v -cover -coverprofile coverage.txt ./internal/... && echo "\n==>\033[32m Ok\033[m\n" || exit 1
.PHONY: vet
vet:
@echo "Running go vet..."
@$(GO) vet $(GO_PACKAGES_TO_VET)
.PHONY: generate
generate:
$(GO) generate ./internal/...
install: $(GOFILES)
$(GO) install -v -tags '$(TAGS)' -ldflags '$(EXTLDFLAGS)-s -w $(LDFLAGS)'
build: go-check $(EXECUTABLE)
feat: add the runner validate subcommand (#757) <!--start release-notes-assistant--> <!--URL:https://code.forgejo.org/forgejo/runner--> - features - [PR](https://code.forgejo.org/forgejo/runner/pulls/757): <!--number 757 --><!--line 0 --><!--description ZmVhdDogdGhlIG5ldyBgZm9yZ2Vqby1ydW5uZXIgdmFsaWRhdGVgIGNvbW1hbmQgY2FuIGJlIHVzZWQgdG8gdmVyaWZ5IGlmIGFuIGFjdGlvbiBvciBhIHdvcmtmbG93IGlzIGNvbmZvcm1hbnQgd2l0aCB0aGUgZXhwZWN0ZWQgc2NoZW1hLiBgZm9yZ2Vqby1ydW5uZXIgdmFsaWRhdGUgLS1yZXBvc2l0b3J5IGh0dHBzOi8vZXhhbXBsZS5jb20vbXkvcmVwb3NpdG9yeWAgd2lsbCB2YWxpZGF0ZSBhbGwgdGhlIHdvcmtmbG93cyBhbmQgYWN0aW9ucyBhIEdpdCByZXBvc2l0b3J5IGNvbnRhaW5zLiBBbHRlcm5hdGl2ZWx5ICBgZm9yZ2Vqby1ydW5uZXIgdmFsaWRhdGUgLS1wYXRoIG15YWN0aW9uL2FjdGlvbi55bWwgLS1hY3Rpb25gIG9yIGBmb3JnZWpvLXJ1bm5lciB2YWxpZGF0ZSAtLXBhdGggLmZvcmdlam8vd29ya2Zsb3dzL3Rlc3QueW1sIC0td29ya2Zsb3dgIGNhbiBiZSB1c2VkIHRvIHZhbGlkYXRlIGEgc2luZ2xlIGZpbGUuIEl0IGlzIHJlY29tbWVuZGVkIHRvIHVzZSB0aGVzZSBjb21tYW5kcyB0byB2ZXJpZnkgZXhpc3RpbmcgYWN0aW9ucyBhbmQgd29ya2Zsb3dzIHBhc3MgYmVmb3JlIHVwZ3JhZGluZyB0byBbRm9yZ2VqbyBydW5uZXIgdjguMC4wXShodHRwczovL2NvZGUuZm9yZ2Vqby5vcmcvZm9yZ2Vqby9ydW5uZXIvc3JjL2JyYW5jaC9tYWluL1JFTEVBU0UtTk9URVMubWQjOC0wLTApIG9yIGFib3ZlIHRvIG5vdCBkaXNydXB0IGV4aXN0aW5nIHdvcmtmbG93cy4=-->feat: the new `forgejo-runner validate` command can be used to verify if an action or a workflow is conformant with the expected schema. `forgejo-runner validate --repository https://example.com/my/repository` will validate all the workflows and actions a Git repository contains. Alternatively `forgejo-runner validate --path myaction/action.yml --action` or `forgejo-runner validate --path .forgejo/workflows/test.yml --workflow` can be used to validate a single file. It is recommended to use these commands to verify existing actions and workflows pass before upgrading to [Forgejo runner v8.0.0](https://code.forgejo.org/forgejo/runner/src/branch/main/RELEASE-NOTES.md#8-0-0) or above to not disrupt existing workflows.<!--description--> <!--end release-notes-assistant--> Reviewed-on: https://code.forgejo.org/forgejo/runner/pulls/757 Reviewed-by: Michael Kriese <michael.kriese@gmx.de> Co-authored-by: Earl Warren <contact@earl-warren.org> Co-committed-by: Earl Warren <contact@earl-warren.org>
2025-07-31 05:37:12 +00:00
$(EXECUTABLE): $(GOFILES) act/schema/action_schema.json act/schema/workflow_schema.json
2023-04-30 18:13:11 +02:00
$(GO) build -v -tags 'netgo osusergo $(TAGS)' -ldflags '$(EXTLDFLAGS)-s -w $(LDFLAGS)' -o $@
.PHONY: deps-tools
deps-tools:
$(GO) install $(MOCKERY_PACKAGE)
$(DIST_DIRS):
mkdir -p $(DIST_DIRS)
.PHONY: docker
docker:
if ! docker buildx version >/dev/null 2>&1; then \
ARG_DISABLE_CONTENT_TRUST=--disable-content-trust=false; \
fi; \
docker build $${ARG_DISABLE_CONTENT_TRUST} -t $(DOCKER_REF) .
docker build $${ARG_DISABLE_CONTENT_TRUST} -t $(DOCKER_ROOTLESS_REF) -f Dockerfile.rootless .
clean:
$(GO) clean -x -i ./...
rm -rf coverage.txt $(EXECUTABLE) $(DIST)
version:
@echo $(VERSION)