mirror of https://github.com/grafana/grafana.git
32 lines
683 B
YAML
32 lines
683 B
YAML
name: "verify-kinds"
|
|
|
|
on:
|
|
pull_request:
|
|
branches: [ main ]
|
|
paths:
|
|
- '**/*.cue'
|
|
|
|
permissions: {}
|
|
|
|
jobs:
|
|
main:
|
|
runs-on: "ubuntu-latest"
|
|
permissions:
|
|
contents: read # clone repository
|
|
steps:
|
|
- name: "Checkout Grafana repo"
|
|
uses: "actions/checkout@v5"
|
|
with:
|
|
fetch-depth: 0
|
|
persist-credentials: false
|
|
|
|
- name: "Setup Go"
|
|
uses: "actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5"
|
|
with:
|
|
go-version-file: go.mod
|
|
|
|
- name: "Verify kinds"
|
|
run: go run .github/workflows/scripts/kinds/verify-kinds.go
|
|
env:
|
|
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
|