Skip to content

chore: remove refs to deprecated io/ioutil (#384) #10

chore: remove refs to deprecated io/ioutil (#384)

chore: remove refs to deprecated io/ioutil (#384) #10

Workflow file for this run

name: JSON Schema
on:
push:
branches:
- main
paths:
- "**/*.go"
- ".github/workflows/schema.yaml"
env:
GO_VERSION: "1.20.4"
jobs:
schema:
name: JSON Schema
runs-on: ubuntu-latest
steps:
- name: Checkout Source Code
uses: actions/checkout@v3
with:
token: ${{ secrets.MEGAEASE_BOT }}
- name: Setup Go Environment
uses: actions/setup-go@v4
with:
go-version: ${{ env.GO_VERSION }}
- name: Build EaseProbe
run: make
- name: Generate JSON Schema
run: ./build/bin/easeprobe -j > resources/schema.json
- name: Commit JSON Schema
uses: EndBug/add-and-commit@v9
with:
message: "Update JSON Schema"
add: "resources/schema.json"
author_name: "GitHub Actions"
author_email: "actions@github.com"