chore(deps): update actions/checkout action to v4.2.2 (#82) #70
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json | |
name: "YAML Schema" | |
on: | |
push: | |
branches: ["main"] | |
jobs: | |
build-schema: | |
name: Build YAML Schema | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
steps: | |
- name: Checkout | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- name: Setup Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: 1.21.5 | |
- name: Render schema | |
run: | | |
go mod tidy | |
go run cmd/kromgo/main.go -jsonschema > config.schema.json | |
- name: Commit Changes | |
uses: stefanzweifel/git-auto-commit-action@8621497c8c39c72f3e2a999a26b4ca1b5058a842 # v5.0.1 | |
with: | |
commit_message: "docs: render json schema" | |
file_pattern: "config.schema.json" |