Skip to content

Commit

Permalink
Merge pull request #533 from oasisprotocol/ptrus/fix/ci-go
Browse files Browse the repository at this point in the history
ci: update go to 1.22
  • Loading branch information
ptrus authored May 27, 2024
2 parents 11dad1b + 90bfcd0 commit 7fa558d
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 8 deletions.
1 change: 1 addition & 0 deletions .changelog/533.feature.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ci: update go to 1.22
4 changes: 2 additions & 2 deletions .github/workflows/ci-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@ jobs:
uses: actions/[email protected]
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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
4 changes: 2 additions & 2 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7fa558d

Please sign in to comment.