Skip to content

Merge pull request #359 from in-toto/dependabot/github_actions/covera… #329

Merge pull request #359 from in-toto/dependabot/github_actions/covera…

Merge pull request #359 from in-toto/dependabot/github_actions/covera… #329

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@d632683dd7b4114ad314bca15554477dd762a938
- 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@d632683dd7b4114ad314bca15554477dd762a938
- uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32
with:
go-version: '1.21.x'
- run: test -z $(go fmt ./...)