Skip to content
This repository has been archived by the owner on Jan 23, 2025. It is now read-only.

chore: generate schema #1517

Merged
merged 2 commits into from
Jan 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions .github/workflows/verify-schema.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: verify schema
on:
pull_request:
merge_group:
jobs:
build:
name: verifying schema
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- uses: actions/setup-go@v3
with:
go-version-file: go.mod
cache: true
cache-dependency-path: go.sum

- run: go run ./cmd/schema verify

8 changes: 7 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,11 @@ quality:
which golangci-lint || go install github.com/golangci/golangci-lint/cmd/[email protected]
golangci-lint run --timeout 3m --verbose

.PHONY: schema
schema:
go run ./cmd/schema generate

.PHONY: update-allowed-actions
update-allowed-actions:
go run ./cmd/allowed_actions
go run ./cmd/allowed_actions

Loading