- Bump Go version from 1.23.5 to 1.24 in both publish and push workflows. - Upgrade github.com/grafana/grafana-plugin-sdk-go from v0.270.0 to v0.274.0. - Update golang.org/x/net from v0.35.0 to v0.37.0, golang.org/x/sync from v0.11.0 to v0.12.0, and golang.org/x/sys from v0.30.0 to v0.31.0. - Upgrade golang.org/x/text from v0.22.0 to v0.23.0.
34 lines
936 B
YAML
34 lines
936 B
YAML
name: Plugins - CD
|
|
run-name: Deploy ${{ inputs.branch }} to ${{ inputs.environment }} by @${{ github.actor }}
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
inputs:
|
|
branch:
|
|
description: Branch to publish from. Can be used to deploy PRs to dev
|
|
default: main
|
|
environment:
|
|
description: Environment to publish to
|
|
required: true
|
|
type: choice
|
|
options:
|
|
- 'dev'
|
|
- 'ops'
|
|
- 'prod'
|
|
docs-only:
|
|
description: Only publish docs, do not publish the plugin
|
|
default: false
|
|
type: boolean
|
|
|
|
jobs:
|
|
cd:
|
|
name: CD
|
|
uses: grafana/plugin-ci-workflows/.github/workflows/cd.yml@main
|
|
with:
|
|
go-version: '1.24'
|
|
golangci-lint-version: '1.64.6'
|
|
branch: ${{ github.event.inputs.branch }}
|
|
environment: ${{ github.event.inputs.environment }}
|
|
docs-only: ${{ fromJSON(github.event.inputs.docs-only) }}
|
|
run-playwright: true
|