Skip to content

Commit

Permalink
Upgrade json schema generator
Browse files Browse the repository at this point in the history
  • Loading branch information
ksysoev committed Apr 24, 2024
1 parent 80f6f22 commit 6cb1e89
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/schema.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,23 @@
name: Schema Updater
name: Schema Updater
on:
workflow_dispatch:
schedule:
- cron: "0 8 * * 1-5"

jobs:
build:

runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- uses: actions/setup-go@v4
with:
go-version: 'stable'
go-version: "stable"

- name: Display Go version
run: go version
- name: Install schema generator
run: go install github.com/atombender/go-jsonschema@v0.15.0
run: go install github.com/atombender/go-jsonschema@v0.16.0
- name: generate schema
run: make generate_all

Expand All @@ -29,5 +28,5 @@ jobs:
uses: EndBug/add-and-commit@v9
with:
default_author: user_info
message: 'Updates API schema'
add: '*.go'
message: "Updates API schema"
add: "*.go"

0 comments on commit 6cb1e89

Please sign in to comment.