forked from blampe/goat
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix status badge stuck on "Passing", hiding CI failures
Was previously failing Go package self-test due to incorrect version spec syntax in a914513, which had "go-version: '1.20'" in test.yml. Generate documentation including goat SVG output used only for that purpose on GitHub. SVG output in examples/ continues to be checked in, for regression-testing purposes. Don't attempt to run the build in Windows.
- Loading branch information
dmullis
committed
Jun 16, 2024
1 parent
a914513
commit c4d7c0c
Showing
8 changed files
with
59 additions
and
663 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
name: Make | ||
|
||
on: | ||
push: | ||
pull_request: | ||
branches: [main] | ||
|
||
jobs: | ||
build: | ||
strategy: | ||
matrix: | ||
go-version: [1.21.x] | ||
os: [ubuntu-latest] | ||
runs-on: ${{ matrix.os }} | ||
|
||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
steps: | ||
- name: Install Go | ||
uses: actions/setup-go@v4 | ||
with: | ||
go-version: ${{ matrix.go-version }} | ||
|
||
- name: Check Out code | ||
uses: actions/checkout@v3 | ||
|
||
- name: Make | ||
run: ./make.sh | ||
|
||
- name: Configure Git | ||
run: | | ||
git config --global user.name 'github-actions[bot]' | ||
git config --global user.email 'github-actions[bot]@users.noreply.github.com' | ||
- name: Commit and Push documentation | ||
run: | | ||
git add README.md goat.svg trees.mid-blue.svg | ||
git commit -m 'Commit Github-generated documentation files' | ||
git push |
This file was deleted.
Oops, something went wrong.
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
Oops, something went wrong.