forked from thanos-community/thanos-operator
-
Notifications
You must be signed in to change notification settings - Fork 0
50 lines (43 loc) · 957 Bytes
/
docs.yaml
File metadata and controls
50 lines (43 loc) · 957 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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
name: docs
on:
push:
branches:
- main
tags:
- 'v*'
pull_request:
branches:
- main
paths:
- 'docs/**'
- '*.md'
- 'website/**'
permissions:
contents: read
jobs:
check:
runs-on: ubuntu-latest
name: Documentation check
env:
GOBIN: /tmp/.bin
steps:
- name: Checkout code
uses: actions/checkout@v6
- name: Install Go
uses: actions/setup-go@v6
with:
go-version: 1.25
- uses: actions/cache@v5
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- uses: actions/cache@v5
with:
path: .mdoxcache
key: ${{ runner.os }}-mdox-${{ hashFiles('docs/*.md', '*.md') }}
restore-keys: |
${{ runner.os }}-mdox-
- name: Check docs
run: make check-docs