...
1#
2# Copyright 2021 The Sigstore Authors.
3#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8# http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15
16name: Docgen
17
18on:
19 workflow_dispatch:
20 push:
21 branches: ['main', 'release-*']
22 pull_request:
23
24permissions: read-all
25
26jobs:
27 docgen:
28 name: Verify Docgen
29 runs-on: ubuntu-latest
30
31 steps:
32 - name: deps
33 run: sudo apt-get update && sudo apt-get install -yq libpcsclite-dev
34 - uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
35 - uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
36 with:
37 go-version: '1.21'
38 check-latest: true
39 - run: ./cmd/help/verify.sh
View as plain text