...

Text file src/github.com/in-toto/in-toto-golang/.github/workflows/verify-docgen-fmt.yml

Documentation: github.com/in-toto/in-toto-golang/.github/workflows

     1name: Docgen and go fmt
     2
     3on:
     4  workflow_dispatch:
     5  push:
     6    branches: ['main', 'release-*']
     7  pull_request:
     8
     9jobs:
    10  docgen:
    11    name: Verify Docgen
    12    runs-on: ubuntu-latest
    13
    14    steps:
    15      - uses: actions/checkout@v3
    16      - uses: actions/setup-go@v4
    17        with:
    18          go-version: '1.19.x'
    19      - run: ./scripts/verify-docs.sh
    20  fmt:
    21    name: Verify go fmt
    22    runs-on: ubuntu-latest
    23
    24    steps:
    25      - uses: actions/checkout@v3
    26      - uses: actions/setup-go@v4
    27        with:
    28          go-version: '1.19.x'
    29      - run: test -z $(go fmt ./...)

View as plain text