Merge pull request #496 from Sumitwarrior7/faq-corrections #1185
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |