diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fb04a12..dd7a381 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -4,7 +4,7 @@ on: push: branches: - main - pull_request: + # pull_request: env: KIND_VERSION: v0.23.0 @@ -27,7 +27,7 @@ jobs: - 1 - 3 steps: - - name: Install + - name: setup kcl run: | wget -q https://kcl-lang.io/script/install-cli.sh -O - | /bin/bash - name: install kind @@ -54,16 +54,13 @@ jobs: kubectl get node kubectl get pod -A - test-push: runs-on: ubuntu-latest steps: - - name: Install + - name: setup kcl run: | wget -q https://kcl-lang.io/script/install-cli.sh -O - | /bin/bash - uses: actions/checkout@v4 - name: mod push run: | hack/test.sh - - diff --git a/.github/workflows/kcl_run.yml b/.github/workflows/kcl_run.yml new file mode 100644 index 0000000..8f889dc --- /dev/null +++ b/.github/workflows/kcl_run.yml @@ -0,0 +1,27 @@ +name: kcl run + +on: + push: + branches: + - main + pull_request: + + +jobs: + kcl-run: + runs-on: ${{ matrix.os }} + strategy: + fail-fast: false + matrix: + os: + - macos-12 + - macos-13 + - macos-14 + steps: + - name: setup kcl + run: | + wget -q https://kcl-lang.io/script/install-cli.sh -O - | /bin/bash + - uses: actions/checkout@v4 + - name: run + run: | + kcl run