Skip to content

[FEATURE] Allow embedded consumers to hide panel header actions #61

[FEATURE] Allow embedded consumers to hide panel header actions

[FEATURE] Allow embedded consumers to hide panel header actions #61

Workflow file for this run

name: go
on:
push:
branches:
- main
pull_request:
merge_group:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.event_name == 'pull_request' || github.ref_name != 'main' }}
jobs:
golangci:
name: lint
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v6
- uses: perses/github-actions@v0.11.0
- uses: ./.github/perses-ci/actions/setup_environment
with:
enable_go: true
enable_go_cache: false
enable_npm: false
- name: golangci-lint
uses: golangci/golangci-lint-action@v9.2.0
with:
# Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version.
version: v2.7.2
args: --timeout 5m
checklicense:
name: "check license headers"
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v6
- uses: perses/github-actions@v0.11.0
- uses: ./.github/perses-ci/actions/setup_environment
with:
enable_go: true
- name: check license headers
run: make checklicense