From 90bfcd0711102d6783789c0a24b70d8cd4527456 Mon Sep 17 00:00:00 2001 From: ptrus Date: Mon, 27 May 2024 11:13:49 +0200 Subject: [PATCH] ci: update go to 1.22 --- .changelog/533.feature.md | 1 + .github/workflows/ci-lint.yml | 4 ++-- .github/workflows/ci-tests.yaml | 4 ++-- .github/workflows/release.yml | 4 ++-- docker/Dockerfile | 4 ++-- 5 files changed, 9 insertions(+), 8 deletions(-) create mode 100644 .changelog/533.feature.md diff --git a/.changelog/533.feature.md b/.changelog/533.feature.md new file mode 100644 index 00000000..1fd7d50a --- /dev/null +++ b/.changelog/533.feature.md @@ -0,0 +1 @@ +ci: update go to 1.22 diff --git a/.github/workflows/ci-lint.yml b/.github/workflows/ci-lint.yml index 5e3b364b..ddf5d024 100644 --- a/.github/workflows/ci-lint.yml +++ b/.github/workflows/ci-lint.yml @@ -38,10 +38,10 @@ jobs: uses: actions/setup-node@v4.0.0 with: node-version: "18.x" - - name: Set up Go 1.21 + - name: Set up Go 1.22 uses: actions/setup-go@v4 with: - go-version: "1.21.x" + go-version: "1.22.x" - name: Install gitlint run: | python -m pip install gitlint diff --git a/.github/workflows/ci-tests.yaml b/.github/workflows/ci-tests.yaml index 2b3eae6a..14959dc6 100644 --- a/.github/workflows/ci-tests.yaml +++ b/.github/workflows/ci-tests.yaml @@ -23,10 +23,10 @@ jobs: steps: - name: Checkout code uses: actions/checkout@v4 - - name: Set up Go 1.21 + - name: Set up Go 1.22 uses: actions/setup-go@v4 with: - go-version: "1.21.x" + go-version: "1.22.x" - name: Cache Go dependencies uses: actions/cache@v3.3.2 with: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index cd54ce2c..60d042f8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -32,10 +32,10 @@ jobs: # For more info, see: # https://github.com/actions/checkout#fetch-all-history-for-all-tags-and-branches fetch-depth: 0 - - name: Set up Go 1.21 + - name: Set up Go 1.22 uses: actions/setup-go@v4 with: - go-version: "1.21.x" + go-version: "1.22.x" - name: Install GoReleaser run: | cd $(mktemp --directory /tmp/goreleaser.XXXXX) diff --git a/docker/Dockerfile b/docker/Dockerfile index 7fbe276d..754669b4 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -8,12 +8,12 @@ # # Build stage # -FROM golang:1.21 AS build +FROM golang:1.22 AS build # Install prerequisites. RUN apt-get update && apt-get install -y bzip2 libseccomp-dev -ARG CORE_BRANCH=v23.0.9 +ARG CORE_BRANCH=v24.0 ARG CORE_GITHUB=https://github.com/oasisprotocol/oasis-core ARG GATEWAY_BRANCH=master