Skip to content

Commit

Permalink
Go 1.21
Browse files Browse the repository at this point in the history
  • Loading branch information
agouin committed Nov 8, 2023
1 parent 6aab500 commit c042d08
Show file tree
Hide file tree
Showing 6 changed files with 50 additions and 10 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,18 @@ jobs:
runs-on: ubuntu-latest
steps:
# Install and setup go
- name: Set up Go 1.19
- name: Set up Go 1.21
uses: actions/setup-go@v4
with:
go-version: '^1.19'
go-version: '^1.21.4'

# checkout horcrux
- name: checkout horcrux
uses: actions/checkout@v3

# make sure proto files are up to date
- name: generate fresh signer proto .go files
run: make signer-proto
run: make proto-gen

# run tests
- name: run horcrux tests
Expand All @@ -50,18 +50,18 @@ jobs:
- TestSingleSignerTwoSentries
steps:
# Install and setup go
- name: Set up Go 1.20
- name: Set up Go 1.21
uses: actions/setup-go@v4
with:
go-version: '^1.20.0'
go-version: '^1.21.4'

# checkout horcrux
- name: checkout horcrux
uses: actions/checkout@v3

# make sure proto files are up to date
- name: generate fresh signer proto .go files
run: make signer-proto
run: make proto-gen

# run test matrix
- name: run test
Expand Down
2 changes: 1 addition & 1 deletion docker/horcrux/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM --platform=$BUILDPLATFORM golang:1.19-alpine AS build-env
FROM --platform=$BUILDPLATFORM golang:1.21-alpine AS build-env

RUN apk add --update --no-cache curl make git libc-dev bash gcc linux-headers eudev-dev

Expand Down
2 changes: 1 addition & 1 deletion docker/horcrux/native.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.19-alpine AS build-env
FROM golang:1.21-alpine AS build-env

RUN apk add --update --no-cache curl make git libc-dev bash gcc linux-headers eudev-dev

Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/strangelove-ventures/horcrux

go 1.19
go 1.21

require (
github.com/Jille/raft-grpc-leader-rpc v1.1.0
Expand Down
Loading

0 comments on commit c042d08

Please sign in to comment.