Skip to content

Merge pull request #55 from kcl-lang/dependabot/github_actions/engine… #133

Merge pull request #55 from kcl-lang/dependabot/github_actions/engine…

Merge pull request #55 from kcl-lang/dependabot/github_actions/engine… #133

Workflow file for this run

name: CI
env:
VERSION_GO: '1.23'
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@v4
- 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-
- uses: engineerd/[email protected]
with:
version: "v0.11.1"
- name: Kubernetes Testing
run: |
kubectl cluster-info
kubectl get pods -n kube-system
echo "current-context:" $(kubectl config current-context)
echo "environment-kubeconfig:" ${KUBECONFIG}
- name: Run unit tests
run: make