Skip to content

Merge pull request #157 from Peefy/chore-bump-kcl-lib-to-0.10.6 #405

Merge pull request #157 from Peefy/chore-bump-kcl-lib-to-0.10.6

Merge pull request #157 from Peefy/chore-bump-kcl-lib-to-0.10.6 #405

Workflow file for this run

name: go-test
on:
push:
branches:
- main
- master
tags:
- '*'
pull_request:
branches:
- main
paths:
- "go/**"
- "go.mod"
- "go.sum"
- ".github/workflows/go-test.yaml"
workflow_dispatch:
permissions:
contents: read
jobs:
test:
strategy:
matrix:
os: [macos-12, macos-13, macos-13-xlarge, macos-14, macos-latest, ubuntu-20.04, ubuntu-22.04, ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
defaults:
run:
working-directory: "go"
steps:
- name: Git checkout
uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.23
- name: Go code test
run: go test ./...