Skip to content

CI: verify in smaller steps, verify binary builds. #1295

CI: verify in smaller steps, verify binary builds.

CI: verify in smaller steps, verify binary builds. #1295

Workflow file for this run

name: Project Checks
on:
push:
branches:
- main
- "release-*"
- "test/**"
pull_request:
branches:
- main
- "release-*"
env:
GO_VERSION: "1.22.1"
jobs:
verify:
name: Minimal PR Verification
runs-on: ubuntu-22.04
timeout-minutes: 5
steps:
- name: Check out repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install golang toolchain
uses: actions/setup-go@v5
with:
go-version: ${{ env.GO_VERSION }}
- name: Verify dependencies
run: |
make verify-godeps
- name: Verify formatting
run: |
make verify-fmt
- name: Verify generated assets
run: |
make verify-generate
- name: Verify binary builds
run: |
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 documentation / update of gh-pages
run: |
git config user.name "Github"
git config user.email "[email protected]"
./scripts/build/update-gh-pages.sh