Skip to content

Merge pull request #280 from adityasaky/run-ci-once #146

Merge pull request #280 from adityasaky/run-ci-once

Merge pull request #280 from adityasaky/run-ci-once #146

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