Skip to content

chore: bump kcl lib to 0.10.0-rc.1 (#378) #1160

chore: bump kcl lib to 0.10.0-rc.1 (#378)

chore: bump kcl lib to 0.10.0-rc.1 (#378) #1160

Workflow file for this run

name: build-and-test-linux
on:
pull_request:
push:
branches:
- main
- "releases/*"
jobs:
build-and-test:
# Ref: https://github.com/actions/runner-images/tree/main/images/macos
strategy:
matrix:
os: [ ubuntu-20.04, ubuntu-22.04, ubuntu-latest ]
runs-on: ${{ matrix.os }}
steps:
- name: Git checkout
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.22
- name: CGO_ENABLED=0 go test
run: CGO_ENABLED=0 go test ./...
- name: CGO_ENABLED=1 go test
run: CGO_ENABLED=1 go test ./...
- run: go test -v -coverprofile=profile.cov ./...
- uses: shogo82148/actions-goveralls@v1
with:
path-to-profile: profile.cov