Skip to content

Tests

Tests #6962

Workflow file for this run

name: Tests
on:
pull_request:
merge_group:
jobs:
tests:
strategy:
matrix:
go-version: [1.22.x]
platform: [ubuntu-latest]
runs-on: ${{ matrix.platform }}
steps:
# Checkout should always be before setup-go to ensure caching is working
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
- name: Build binaries
run: make build
- name: Run unit tests
run: make test
- name: Check with go vet
run: make vet