Skip to content
Snippets Groups Projects
Unverified Commit 59779fdb authored by Rajiv Shah's avatar Rajiv Shah Committed by GitHub
Browse files

chore: Use Go 1.15.5 (#837)

Previous versions of Go have an issue where a specially crafted input to a math operation can cause a panic (CVE-2020-28362). This bug is fixed in Go 1.15.5.
parent 4c6d51bd
No related branches found
No related tags found
No related merge requests found
......@@ -14,7 +14,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.14
go-version: 1.15
- name: Copy config.default.json to config.json
run: cp config.default.json config.json
- name: Run GoReleaser
......
......@@ -9,10 +9,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.14.4
- name: Set up Go 1.15.5
uses: actions/setup-go@v1
with:
go-version: 1.14.4
go-version: 1.15.5
- name: Check out code into the Go module directory
uses: actions/checkout@v2
......
############################
# Build
############################
# golang:1.14.4-buster
FROM golang@sha256:fbaba67d3bd0a6fd154eaa27d1a0a9e5e80ecdb0792736017fde7326d9bf8d69 AS build
# golang:1.15.5-buster
FROM golang@sha256:eb88b20326f70fbf943af9d62650d8293d62fb5764c50e7477cdcb33caf9ff73 AS build
# Ensure ca-certficates are up to date
RUN update-ca-certificates
......
......@@ -3,7 +3,7 @@ version: "3.5"
services:
builder:
container_name: builder
image: golang:1.14.4
image: golang:1.15.5
working_dir: /tmp/goshimmer/
entrypoint: go install main.go
volumes:
......@@ -13,4 +13,4 @@ services:
volumes:
goshimmer-cache:
name: goshimmer-cache
\ No newline at end of file
name: goshimmer-cache
......@@ -4,7 +4,7 @@ services:
entry_node:
container_name: entry_node
image: golang:1.14.4
image: golang:1.15.5
stop_grace_period: 1m
entrypoint: /go/bin/main
command: >
......@@ -34,7 +34,7 @@ services:
peer_master:
container_name: peer_master
image: golang:1.14.4
image: golang:1.15.5
stop_grace_period: 1m
entrypoint: /go/bin/main
command: >
......@@ -59,7 +59,7 @@ services:
- entry_node
peer_replica:
image: golang:1.14.4
image: golang:1.15.5
stop_grace_period: 1m
entrypoint: /go/bin/main
command: >
......@@ -80,4 +80,4 @@ services:
volumes:
goshimmer-cache:
name: goshimmer-cache
\ No newline at end of file
name: goshimmer-cache
......@@ -3,7 +3,7 @@ version: "3.5"
services:
tester:
container_name: tester
image: golang:1.14.4
image: golang:1.15.5
working_dir: /tmp/goshimmer/tools/integration-tests/tester
command: /tmp/assets/entrypoint.sh
environment:
......@@ -20,4 +20,4 @@ volumes:
goshimmer-testing-cache:
name: goshimmer-testing-cache
goshimmer-testing-assets:
name: goshimmer-testing-assets
\ No newline at end of file
name: goshimmer-testing-assets
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment