Skip to content

Prepare for v1.16.0-pre.3 release #2284

Prepare for v1.16.0-pre.3 release

Prepare for v1.16.0-pre.3 release #2284

Workflow file for this run

name: Run static checks and unit tests
# Any change in triggers needs to be reflected in the concurrency group.
on:
push:
branches:
- main
- v*
pull_request:
branches:
- main
- v*
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.event.after }}
cancel-in-progress: true
jobs:
unit-test:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
with:
go-version-file: 'go.mod'
- name: Check module vendoring
run: |
go mod tidy
go mod vendor
go mod verify
git status
test -z "$(git status --porcelain)" || (echo "please run 'go mod tidy && go mod vendor', and submit your changes"; exit 1)
- name: Run unit tests
run: make test
- name: Build
run: make
- name: Build release binaries
run: make release