check statuses are now first class citizens, and propagate up to the commit status itself #54
Workflow file for this run
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 ci | |
on: | |
pull_request: | |
paths: | |
- '.github/workflows/on_pull_request_docs.yaml' | |
- 'Earthfile' | |
- '*/**.go' | |
- '*.go' | |
- 'go.mod' | |
- 'go.sum' | |
- 'docs/usage.md*' | |
jobs: | |
lint-docs: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: wistia/[email protected] | |
- uses: earthly/actions-setup@v1 | |
with: { version: "${{ env.EARTHLY_TOOL_VERSION }}" } | |
- name: rebuild the docs | |
run: | | |
earthly \ | |
+rebuild-docs \ | |
--GOLANG_VERSION="${{ env.GOLANG_TOOL_VERSION }}" | |
- name: verify that the checked in file has not changed | |
run: ./hacks/exit-on-changed-files.sh "Please run 'earthly +rebuild-docs' and commit the results to this PR" |