Bump github.com/google/jsonschema-go from 0.3.0 to 0.4.2 (#4167) #706
This file contains hidden or 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
| name: check | |
| on: | |
| pull_request: | |
| types: [opened, synchronize] | |
| merge_group: | |
| types: [checks_requested] | |
| push: | |
| # Always run on push to main. The build cache can only be reused | |
| # if it was saved by a run from the repository's default branch. | |
| # The run result will be identical to that from the merge queue | |
| # because the commit is identical, yet we need to perform it to | |
| # seed the build cache. | |
| branches: | |
| - main | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
| - uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0 | |
| with: | |
| go-version-file: go.mod | |
| # Use different schema from regular job, to avoid overwriting the same key | |
| cache-dependency-path: | | |
| go.sum | |
| .golangci.yaml | |
| - name: Run go mod tidy | |
| run: go mod tidy | |
| - name: Fail if go.mod/go.sum changed | |
| run: git diff --exit-code | |
| - name: Run Go lint checks (does not include formatting checks) | |
| run: go tool -modfile=tools/go.mod golangci-lint run --timeout=15m | |
| - name: Run ruff (Python linter and formatter) | |
| uses: astral-sh/ruff-action@57714a7c8a2e59f32539362ba31877a1957dded1 # v3.5.1 | |
| with: | |
| version: "0.9.1" | |
| args: "format --check" | |
| - name: "make fmtfull: Python and Go formatting" | |
| # Python formatting is already checked above, but this also checks Go and YAML formatting | |
| # and verifies that the make command works correctly | |
| run: | | |
| make fmtfull | |
| git diff --exit-code | |
| - name: "make checks: custom checks outside of fmt and lint" | |
| run: |- | |
| make checks | |
| git diff --exit-code |