From df2ac4de16f2782b439bf3378c938f94e855f7ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Moritz=20Wanzenb=C3=B6ck?= Date: Thu, 7 Dec 2023 14:01:44 +0100 Subject: [PATCH] ci: update go versions --- .github/workflows/go.yml | 8 ++++---- .github/workflows/release.yml | 6 +++--- .gitlab-ci.yml | 4 ++-- go.mod | 2 +- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index c3be152..0f0fb0e 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -13,14 +13,14 @@ jobs: runs-on: ubuntu-latest steps: - - name: Set up Go 1.18 - uses: actions/setup-go@v1 + - name: Set up Go 1.19 + uses: actions/setup-go@v5 with: - go-version: 1.18 + go-version: 1.19 id: go - name: Check out code into the Go module directory - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Build run: go build -v . diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3fd274f..d8582e2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -12,11 +12,11 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup GO - uses: actions/setup-go@v4 + uses: actions/setup-go@v5 with: - go-version: 1.18 + go-version: 1.19 - name: Build project env: CGO_ENABLED: "0" diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 0118292..d74bc9b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -11,7 +11,7 @@ stages: variables: VMSHED_VERSION: v0.20.1 - GO_VERSION: "1.18" + GO_VERSION: "1.19" BUILD_HELPERS_VERSION: cad23b57db14b7676808fa645c4561bc66c3e204 prepare-bins: @@ -85,7 +85,7 @@ lint: stage: test rules: - if: $CI_MERGE_REQUEST_ID - image: golangci/golangci-lint:v1.46-alpine + image: golangci/golangci-lint:v1.55 variables: GOPATH: $CI_PROJECT_DIR/.mygo script: diff --git a/go.mod b/go.mod index 856d3be..8634c6a 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/LINBIT/virter -go 1.18 +go 1.19 require ( github.com/BurntSushi/toml v1.3.2