Skip to content

Update build tooling and dependencies from starter template#52

Open
fmartingr wants to merge 2 commits intomasterfrom
update-ci-workflow-to-main-branch
Open

Update build tooling and dependencies from starter template#52
fmartingr wants to merge 2 commits intomasterfrom
update-ci-workflow-to-main-branch

Conversation

@fmartingr
Copy link
Copy Markdown

@fmartingr fmartingr commented Feb 17, 2026

Summary

  • Syncs common build/config files from the latest mattermost-plugin-starter-template
  • Migrates from mattermost-server/v6 to mattermost/server/public module
  • Replaces build/deploy with build/pluginctl (adds local socket support, log viewer/watcher)
  • Updates Makefile with semver bumping targets, golangci-lint v2, gotestsum, debug/attach support
  • Updates .golangci.yml to v2 format with new linters (bidichk, makezero, modernize, unqueryvet)
  • Updates build/manifest with dist/check commands and automatic git tag versioning
  • Adds .editorconfig, .gitattributes; updates .gitignore, .nvmrc (14 → 20), build/setup.mk
  • Fixes gofumpt lint issues in server code
  • Preserves community-specific CI/CD workflows (community-plugin-ci.yml, community-plugin-cd.yml)

Test plan

  • make check-style passes (0 issues)
  • make test passes (18 tests)
  • make dist builds successfully for all architectures
  • CI passes on this PR

Closes #45

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
@fmartingr fmartingr changed the title Update CI workflow to use main branch of actions-workflows Update build tooling and dependencies from starter template Feb 18, 2026
@fmartingr fmartingr requested a review from hanzei February 18, 2026 11:23
Copy link
Copy Markdown
Contributor

@hanzei hanzei left a comment

Choose a reason for hiding this comment

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

LGTM 👍

Sorry, I didn't notice this PR exists.

Comment thread .nvmrc
@@ -1 +1 @@
14.21.1
20.11
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Starter template is on 24.13.1. Should we also jump to a newer version with this repo?

@fmartingr fmartingr self-assigned this Apr 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants