Skip to content

Merge pull request #21 from kcl-lang/dependabot/github_actions/contri… #39

Merge pull request #21 from kcl-lang/dependabot/github_actions/contri…

Merge pull request #21 from kcl-lang/dependabot/github_actions/contri… #39

Workflow file for this run

name: CI
env:
VERSION_GO: '1.20'
on:
pull_request:
push:
branches:
- main
jobs:
build:
name: "Build & Test"
if: "!contains(github.event.head_commit.message, '[ci skip]')"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v5
with:
go-version: ${{ env.VERSION_GO }}
- uses: actions/cache@v4
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Run unit tests
run: make