CI: move workflows/actions to actions (#104711)
* move workflows/actions to actions
* rerun actions
* fix setup-go v5
* unpinned unnecessary pins
* update CODEOWONERS
* update CODEOWONERS
* remove remove-milestone from codeowners
* remove bad key
(cherry picked from commit 2436b4e097)
28 lines
609 B
YAML
28 lines
609 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@v4"
|
|
with:
|
|
fetch-depth: 0
|
|
persist-credentials: false
|
|
|
|
- name: "Setup Go"
|
|
uses: "actions/setup-go@19bb51245e9c80abacb2e91cc42b33fa478b8639"
|
|
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}}
|