Skip to content

Merge pull request #339 from in-toto/dependabot/go_modules/google.gol… #295

Merge pull request #339 from in-toto/dependabot/go_modules/google.gol…

Merge pull request #339 from in-toto/dependabot/go_modules/google.gol… #295

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@692973e3d937129bcbf40652eb9f2f61becf3332
- uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32
with:
go-version: '1.21.x'
- run: ./scripts/verify-docs.sh
fmt:
name: Verify go fmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
- uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32
with:
go-version: '1.21.x'
- run: test -z $(go fmt ./...)