mirror of
https://github.com/grafana/grafana.git
synced 2024-11-26 19:00:54 -06:00
28 lines
557 B
YAML
28 lines
557 B
YAML
name: "verify-kinds"
|
|
|
|
on:
|
|
pull_request:
|
|
branches: [ main ]
|
|
paths:
|
|
- '**/*.cue'
|
|
|
|
jobs:
|
|
main:
|
|
runs-on: "ubuntu-latest"
|
|
steps:
|
|
- name: "Checkout Grafana repo"
|
|
uses: "actions/checkout@v3"
|
|
with:
|
|
fetch-depth: 0
|
|
|
|
- name: "Setup Go"
|
|
uses: "actions/setup-go@v4"
|
|
with:
|
|
go-version: '1.20.6'
|
|
|
|
- name: "Verify kinds"
|
|
run: go run .github/workflows/scripts/kinds/verify-kinds.go
|
|
env:
|
|
CODEGEN_VERIFY: 1
|
|
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
|