Merge pull request #378 from in-toto/dependabot/github_actions/action… #370
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@11bd71901bbe5b1630ceea73d27597364c9af683 | |
- uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 | |
- run: ./scripts/verify-docs.sh | |
fmt: | |
name: Verify go fmt | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 | |
- uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 | |
- run: test -z $(go fmt ./...) |