Skip to content

Merge pull request #370 from in-toto/dependabot/github_actions/action… #353

Merge pull request #370 from in-toto/dependabot/github_actions/action…

Merge pull request #370 from in-toto/dependabot/github_actions/action… #353

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@3041bf56c941b39c61721a86cd11f3bb1338122a
- run: ./scripts/verify-docs.sh
fmt:
name: Verify go fmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
- uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a
- run: test -z $(go fmt ./...)