This repository was archived by the owner on Jul 22, 2025. It is now read-only.
Extract project release creation strategy into new resource #773
This file contains hidden or 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: Validate Docs | |
on: | |
push: | |
branches: | |
- '**' | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- uses: actions/setup-go@v3 | |
with: | |
go-version: '1.22' | |
- run: go generate main.go | |
- name: Stage new and modified files in docs folder | |
run: git add docs/ | |
- name: Check for file changes | |
run: git diff --cached --exit-code |