tests: extend linting #141
Workflow file for this run
This file contains hidden or 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
# This workflow will build a golang project | |
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go | |
name: Acceptance | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
e2e: | |
# Only ubuntu allows for docker support - https://docs.github.com/en/actions/using-containerized-services/about-service-containers | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
- name: Set up Go | |
uses: actions/[email protected] | |
with: | |
go-version: '1.24' | |
- name: Build | |
run: go build -v ./... | |
- name: Test | |
run: make test | |
- name: Integration # requires Docker and thus ubuntu runner | |
run: make itest | |
platforms: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: | |
- "windows-latest" | |
- "macos-latest" | |
steps: | |
- uses: actions/[email protected] | |
- uses: actions/[email protected] | |
with: | |
# use old version to validate claim in docs | |
go-version: '1.21' | |
- name: Test | |
run: make test |