-
Notifications
You must be signed in to change notification settings - Fork 142
32 lines (32 loc) · 790 Bytes
/
cli.yml
File metadata and controls
32 lines (32 loc) · 790 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
name: Build docs and shell completions
on:
push:
branches:
- master
paths:
- 'cmd/*.go'
jobs:
build_cli:
runs-on: ubuntu-22.04
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
token: ${{ secrets.COZYBOT_ACCESS_TOKEN }}
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: '1.25.x'
- name: Install
run: |
echo "$(go env GOPATH)/bin" >> $GITHUB_PATH
go install
- name: Build
run: |
make cli
- uses: stefanzweifel/git-auto-commit-action@v5.0.1
with:
commit_message: Build CLI docs and shell completions
branch: master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}