Skip to content

Commit 055c966

Browse files
author
David Robertson
authored
Require go 1.19 for atomic.Int64 (#687)
1 parent e719bfb commit 055c966

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.github/workflows/ci.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ jobs:
1616
steps:
1717
- uses: actions/checkout@v3 # Checkout complement
1818
- uses: actions/setup-go@v4
19+
with:
20+
go-version-file: go.mod
1921
- name: "Install Complement Dependencies"
2022
run: |
2123
sudo apt-get update && sudo apt-get install -y libolm3 libolm-dev
@@ -56,6 +58,9 @@ jobs:
5658
- uses: actions/checkout@v3 # Checkout complement
5759

5860
- uses: actions/setup-go@v4
61+
with:
62+
go-version-file: go.mod
63+
5964
# Similar steps as dockerfiles/ComplementCIBuildkite.Dockerfile but on the host. We need
6065
# to do this so we can _be_ the host when running Complement so we can snaffle all the ports. If
6166
# we run Complement _in_ Docker then we can't -p all high numbered ports which then breaks federation

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/matrix-org/complement
22

3-
go 1.18
3+
go 1.19
44

55
require (
66
github.com/docker/docker v24.0.6+incompatible

0 commit comments

Comments
 (0)