feat(examples): add p/jeronimoalbi/pager
package (#3806)
#68
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Docs Linter | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
paths: | |
- "docs/**" | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Set up Go (docs builder) | |
uses: actions/setup-go@v5 | |
with: | |
go-version-file: misc/devdeps/go.mod | |
- name: Install dependencies (docs builder) | |
working-directory: misc/devdeps | |
run: go mod download | |
- name: Build docs | |
run: make -C docs/ build | |
- name: Check diff | |
run: git diff --exit-code || (echo "Some docs files are not formatted, please run 'make build'." && exit 1) | |
- name: Set up Go (docs linter) | |
uses: actions/setup-go@v5 | |
with: | |
go-version-file: misc/docs-linter/go.mod | |
- name: Install dependencies (docs linter) | |
working-directory: misc/docs-linter | |
run: go mod download | |
- name: Run linter | |
run: make -C docs/ lint |