Update build tooling and dependencies from starter template#52
Open
Update build tooling and dependencies from starter template#52
Conversation
Point the reusable workflow reference to @main instead of a pinned SHA so the plugin picks up upstream changes automatically.
Sync common build/config files from mattermost-plugin-starter-template: - Update Makefile with semver bumping, pluginctl, golangci-lint v2, gotestsum - Update .golangci.yml to v2 format with new linters - Replace build/deploy with build/pluginctl (local socket support, log viewer) - Update build/manifest with dist/check commands and git tag versioning - Migrate from mattermost-server/v6 to mattermost/server/public - Add .editorconfig, .gitattributes - Update .gitignore, .nvmrc (14 -> 20), build/setup.mk - Fix gofumpt lint issues in server code
hanzei
approved these changes
Mar 25, 2026
Contributor
hanzei
left a comment
There was a problem hiding this comment.
LGTM 👍
Sorry, I didn't notice this PR exists.
| @@ -1 +1 @@ | |||
| 14.21.1 | |||
| 20.11 | |||
Contributor
There was a problem hiding this comment.
Starter template is on 24.13.1. Should we also jump to a newer version with this repo?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
mattermost-plugin-starter-templatemattermost-server/v6tomattermost/server/publicmodulebuild/deploywithbuild/pluginctl(adds local socket support, log viewer/watcher)Makefilewith semver bumping targets,golangci-lintv2,gotestsum, debug/attach support.golangci.ymlto v2 format with new linters (bidichk,makezero,modernize,unqueryvet)build/manifestwithdist/checkcommands and automatic git tag versioning.editorconfig,.gitattributes; updates.gitignore,.nvmrc(14 → 20),build/setup.mkgofumptlint issues in server codecommunity-plugin-ci.yml,community-plugin-cd.yml)Test plan
make check-stylepasses (0 issues)make testpasses (18 tests)make distbuilds successfully for all architecturesCloses #45