diff --git a/.changelog/533.feature.md b/.changelog/533.feature.md new file mode 100644 index 0000000..1fd7d50 --- /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 5e3b364..ddf5d02 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 2b3eae6..14959dc 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 cd54ce2..60d042f 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 7fbe276..754669b 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