-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: verify buildability of binaries in CI.
Add missing verification of binary builds. Run verifications in CI one at a time for more granular error reports. Update the collective verify build target to run all verifications in a single go. Signed-off-by: Krisztian Litkey <[email protected]>
- Loading branch information
Showing
2 changed files
with
23 additions
and
9 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 |
---|---|---|
|
@@ -20,28 +20,38 @@ jobs: | |
runs-on: ubuntu-22.04 | ||
timeout-minutes: 5 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Check out repository | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
- uses: actions/setup-go@v5 | ||
|
||
- name: Install golang toolchain | ||
uses: actions/setup-go@v5 | ||
with: | ||
go-version: ${{ env.GO_VERSION }} | ||
|
||
- name: make verify | ||
- name: Verify dependencies | ||
run: | | ||
make verify-godeps | ||
- name: Verify formatting | ||
run: | | ||
make verify-fmt | ||
- name: Verify generated assets | ||
run: | | ||
make verify | ||
make verify-generate | ||
- name: Build docs | ||
- name: Verify binary builds | ||
run: | | ||
make site-build | ||
make clean-html | ||
make verify-build | ||
- name: Install gh-pages build dependencies | ||
run: | | ||
pip3 install --user -r docs/requirements.txt | ||
echo "`python3 -m site --user-base`/bin" >> $GITHUB_PATH | ||
- name: Verify update of gh-pages | ||
- name: Verify documentation / update of gh-pages | ||
run: | | ||
git config user.name "Github" | ||
git config user.email "[email protected]" | ||
|
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