Skip to content

[cpp]: update CMate and CMakefiles to allow FetchContent #2942

[cpp]: update CMate and CMakefiles to allow FetchContent

[cpp]: update CMate and CMakefiles to allow FetchContent #2942

Workflow file for this run

name: test-go
on:
push:
branches:
- main
- renovate/**
pull_request:
branches:
- main
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:
- 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 ./...