From fbb32a94294b1c1f214805b12d94fe149fd40303 Mon Sep 17 00:00:00 2001 From: peefy Date: Wed, 10 Jan 2024 18:52:16 +0800 Subject: [PATCH] chore: bump go version to 1.21 in CI Signed-off-by: peefy --- .github/workflows/example-e2e-test.yml | 2 +- .github/workflows/install-kcl.yml | 6 +++--- .github/workflows/install-kusion.yml | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/example-e2e-test.yml b/.github/workflows/example-e2e-test.yml index 28c3e8b7..fcfcc167 100644 --- a/.github/workflows/example-e2e-test.yml +++ b/.github/workflows/example-e2e-test.yml @@ -13,7 +13,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-go@v1 with: - go-version: "1.19" + go-version: "1.21" - name: kcl Installation run: go install kcl-lang.io/cli/cmd/kcl@main diff --git a/.github/workflows/install-kcl.yml b/.github/workflows/install-kcl.yml index a6cf826a..8dd9fde6 100644 --- a/.github/workflows/install-kcl.yml +++ b/.github/workflows/install-kcl.yml @@ -25,7 +25,7 @@ jobs: python-version: '3.9' - uses: actions/setup-go@v1 with: - go-version: "1.19" + go-version: "1.21" - name: Check Python Installation run: python3 -m pip install kclvm --user -U && python3 -m kclvm ./static/stack/main.k @@ -56,7 +56,7 @@ jobs: python-version: '3.9' - uses: actions/setup-go@v1 with: - go-version: "1.19" + go-version: "1.21" - name: Check Python Installation run: python3 -m pip install kclvm --user -U && python3 -m kclvm ./static/stack/main.k @@ -67,7 +67,7 @@ jobs: check-windows: strategy: matrix: - goversion: ['1.19', '1.20'] + goversion: ['1.20', '1.21'] pyversion: ['3.9', '3.10'] runs-on: windows-latest steps: diff --git a/.github/workflows/install-kusion.yml b/.github/workflows/install-kusion.yml index 56c28d58..c4c464ab 100644 --- a/.github/workflows/install-kusion.yml +++ b/.github/workflows/install-kusion.yml @@ -53,7 +53,7 @@ jobs: python-version: '3.9' - uses: actions/setup-go@v1 with: - go-version: "1.19" + go-version: "1.21" - name: Check Go Installation working-directory: .