Skip to content

Merge pull request #436 from Peefy/fix-kcl-registry-login-cmd-referen… #1048

Merge pull request #436 from Peefy/fix-kcl-registry-login-cmd-referen…

Merge pull request #436 from Peefy/fix-kcl-registry-login-cmd-referen… #1048

name: example-e2e-test
on:
pull_request:
branches:
- main
push:
branches:
- main
jobs:
example-e2e-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v1
with:
go-version: "1.22"
- name: kcl Installation
run: go install kcl-lang.io/cli/cmd/kcl@main
- name: Example tests
shell: bash -ieo pipefail {0}
run: PATH=$PATH:$HOME/go/bin ./examples/test.sh