Skip to content

Added .NET 9 to test matrix #1565

Added .NET 9 to test matrix

Added .NET 9 to test matrix #1565

Workflow file for this run

name: test-go
on:
push:
branches:
- main
- renovate/**
paths:
- go/**
- testdata/**
- .github/**
pull_request:
branches:
- main
paths:
- go/**
- testdata/**
- .github/**
workflow_call:
jobs:
test-go:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
go: ['1.20.x', '1.21.x']
include:
# Integration tests don't work on Windows, reason unknown
# - os: windows-latest
# go: '1.21.x'
- os: macos-latest
go: '1.21.x'
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}
- name: lint
working-directory: go
run: gofmt -w .
- name: test
working-directory: go
run: go test --v ./...
- name: run acceptance tests
run: make acceptance
working-directory: go