Skip to content

ci: migrate to grafana/k6-ci#27

Open
mstoykov wants to merge 4 commits into
mainfrom
migrate-to-k6-ci
Open

ci: migrate to grafana/k6-ci#27
mstoykov wants to merge 4 commits into
mainfrom
migrate-to-k6-ci

Conversation

@mstoykov

Copy link
Copy Markdown
Contributor

Replace the grafana/xk6 extension-validate workflow with a call to grafana/k6-ci/.github/workflows/all.yml (pinned to v0.3.0), matching the rest of the migrated k6 extensions.

Replace the grafana/xk6 extension-validate workflow with a call to
grafana/k6-ci/.github/workflows/all.yml, matching the rest of the
migrated k6 extensions.
@mstoykov mstoykov requested a review from a team as a code owner June 19, 2026 13:16
@mstoykov mstoykov requested review from ankur22 and codebien June 19, 2026 13:16
mstoykov added 3 commits June 19, 2026 19:05
Rework the cdo-generated lint target to download .golangci.yml from
grafana/k6-ci at the ref pinned in the workflow and run golangci-lint at
its pinned version, with an optional .golangci.patch overlay. Adds
update-lint-patch and clean-lint helpers. See grafana/k6-ci/README.md.
The k6-ci .golangci.yml is stricter than the previous per-repo config.
Fixes: drop dead code, return the unchecked write error, and add
//nolint:forbidigo for legitimate os usage in tests and CLI helper tools.
`make lint` now writes .golangci-base.yml and .golangci.yml at the repo
root (gitignored), matching grafana/k6-ci/templates/Makefile, instead of
under build/lint. The previously committed per-repo .golangci.yml is
removed: both CI and `make lint` use the canonical config downloaded from
grafana/k6-ci.
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.

1 participant