Merge pull request #329 from in-toto/dependabot/go_modules/google.gol… #268
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
name: Docgen and go fmt | |
on: | |
workflow_dispatch: | |
push: | |
branches: ['master'] | |
pull_request: | |
jobs: | |
docgen: | |
name: Verify Docgen | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 | |
- uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 | |
with: | |
go-version: '1.21.x' | |
- run: ./scripts/verify-docs.sh | |
fmt: | |
name: Verify go fmt | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 | |
- uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 | |
with: | |
go-version: '1.21.x' | |
- run: test -z $(go fmt ./...) |