From 76f10d69dd0ee358d4b403d8508221c12b23fa32 Mon Sep 17 00:00:00 2001 From: Weifeng Wang Date: Sat, 26 Aug 2023 18:59:37 +0800 Subject: [PATCH] Update ci to use Go 1.21 Signed-off-by: Weifeng Wang --- .github/workflows/ci.yml | 2 +- ci/main.go | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index daba9727..132717b0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,6 +16,6 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-go@v4 with: - go-version: '1.20' + go-version: '1.21' - name: Run Dagger pipeline run: go run ci/main.go \ No newline at end of file diff --git a/ci/main.go b/ci/main.go index e8b5cf2e..912f1bc6 100644 --- a/ci/main.go +++ b/ci/main.go @@ -7,8 +7,8 @@ import ( "dagger.io/dagger" ) -// use golang:1.20.6 container as builder -const goImage = "golang:1.20.6" +// use golang:1.21.0 container as builder +const goImage = "golang:1.21.0" func main() { println("Dagger is a programmable CI/CD engine that runs your pipelines in containers.")