From dd6047e05644550eaa8b06e8bddca85f6e880501 Mon Sep 17 00:00:00 2001 From: Andreas Fritzler Date: Thu, 23 Mar 2023 15:07:17 +0100 Subject: [PATCH] Bump golang to 1.20 (#236) --- .github/workflows/clean.yml | 2 +- .github/workflows/golangci-lint.yml | 4 ++-- .github/workflows/release-drafter.yml | 2 +- .github/workflows/test.yml | 4 ++-- go.mod | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/clean.yml b/.github/workflows/clean.yml index a5f6784..fecf04f 100644 --- a/.github/workflows/clean.yml +++ b/.github/workflows/clean.yml @@ -15,6 +15,6 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-go@v4 with: - go-version: 1.19 + go-version: '1.20' - run: go mod tidy - run: hack/check.sh diff --git a/.github/workflows/golangci-lint.yml b/.github/workflows/golangci-lint.yml index 387b0f1..f3ea143 100644 --- a/.github/workflows/golangci-lint.yml +++ b/.github/workflows/golangci-lint.yml @@ -13,8 +13,8 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-go@v4 with: - go-version: 1.19 + go-version: '1.20' - name: golangci-lint uses: golangci/golangci-lint-action@v3 with: - version: v1.50.1 \ No newline at end of file + version: v1.52.1 diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml index 20de2f8..22f94d0 100644 --- a/.github/workflows/release-drafter.yml +++ b/.github/workflows/release-drafter.yml @@ -16,4 +16,4 @@ jobs: with: config-name: release-drafter.yml env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d412c8d..6447ae5 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -17,5 +17,5 @@ jobs: ref: ${{ github.event.pull_request.head.sha }} - uses: actions/setup-go@v4 with: - go-version: 1.19 - - run: make test \ No newline at end of file + go-version: '1.20' + - run: make test diff --git a/go.mod b/go.mod index 58cfc6b..4912810 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/onmetal/onmetal-csi-driver -go 1.19 +go 1.20 require ( github.com/container-storage-interface/spec v1.8.0