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
Branches
Tags
No related merge requests found
...@@ -14,7 +14,7 @@ jobs: ...@@ -14,7 +14,7 @@ jobs:
- name: Set up Go - name: Set up Go
uses: actions/setup-go@v2 uses: actions/setup-go@v2
with: with:
go-version: 1.14 go-version: 1.15
- name: Copy config.default.json to config.json - name: Copy config.default.json to config.json
run: cp config.default.json config.json run: cp config.default.json config.json
- name: Run GoReleaser - name: Run GoReleaser
......
...@@ -9,10 +9,10 @@ jobs: ...@@ -9,10 +9,10 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Set up Go 1.14.4 - name: Set up Go 1.15.5
uses: actions/setup-go@v1 uses: actions/setup-go@v1
with: with:
go-version: 1.14.4 go-version: 1.15.5
- name: Check out code into the Go module directory - name: Check out code into the Go module directory
uses: actions/checkout@v2 uses: actions/checkout@v2
......
############################ ############################
# Build # Build
############################ ############################
# golang:1.14.4-buster # golang:1.15.5-buster
FROM golang@sha256:fbaba67d3bd0a6fd154eaa27d1a0a9e5e80ecdb0792736017fde7326d9bf8d69 AS build FROM golang@sha256:eb88b20326f70fbf943af9d62650d8293d62fb5764c50e7477cdcb33caf9ff73 AS build
# Ensure ca-certficates are up to date # Ensure ca-certficates are up to date
RUN update-ca-certificates RUN update-ca-certificates
......
...@@ -3,7 +3,7 @@ version: "3.5" ...@@ -3,7 +3,7 @@ version: "3.5"
services: services:
builder: builder:
container_name: builder container_name: builder
image: golang:1.14.4 image: golang:1.15.5
working_dir: /tmp/goshimmer/ working_dir: /tmp/goshimmer/
entrypoint: go install main.go entrypoint: go install main.go
volumes: volumes:
...@@ -13,4 +13,4 @@ services: ...@@ -13,4 +13,4 @@ services:
volumes: volumes:
goshimmer-cache: goshimmer-cache:
name: goshimmer-cache name: goshimmer-cache
\ No newline at end of file
...@@ -4,7 +4,7 @@ services: ...@@ -4,7 +4,7 @@ services:
entry_node: entry_node:
container_name: entry_node container_name: entry_node
image: golang:1.14.4 image: golang:1.15.5
stop_grace_period: 1m stop_grace_period: 1m
entrypoint: /go/bin/main entrypoint: /go/bin/main
command: > command: >
...@@ -34,7 +34,7 @@ services: ...@@ -34,7 +34,7 @@ services:
peer_master: peer_master:
container_name: peer_master container_name: peer_master
image: golang:1.14.4 image: golang:1.15.5
stop_grace_period: 1m stop_grace_period: 1m
entrypoint: /go/bin/main entrypoint: /go/bin/main
command: > command: >
...@@ -59,7 +59,7 @@ services: ...@@ -59,7 +59,7 @@ services:
- entry_node - entry_node
peer_replica: peer_replica:
image: golang:1.14.4 image: golang:1.15.5
stop_grace_period: 1m stop_grace_period: 1m
entrypoint: /go/bin/main entrypoint: /go/bin/main
command: > command: >
...@@ -80,4 +80,4 @@ services: ...@@ -80,4 +80,4 @@ services:
volumes: volumes:
goshimmer-cache: goshimmer-cache:
name: goshimmer-cache name: goshimmer-cache
\ No newline at end of file
...@@ -3,7 +3,7 @@ version: "3.5" ...@@ -3,7 +3,7 @@ version: "3.5"
services: services:
tester: tester:
container_name: tester container_name: tester
image: golang:1.14.4 image: golang:1.15.5
working_dir: /tmp/goshimmer/tools/integration-tests/tester working_dir: /tmp/goshimmer/tools/integration-tests/tester
command: /tmp/assets/entrypoint.sh command: /tmp/assets/entrypoint.sh
environment: environment:
...@@ -20,4 +20,4 @@ volumes: ...@@ -20,4 +20,4 @@ volumes:
goshimmer-testing-cache: goshimmer-testing-cache:
name: goshimmer-testing-cache name: goshimmer-testing-cache
goshimmer-testing-assets: goshimmer-testing-assets:
name: goshimmer-testing-assets name: goshimmer-testing-assets
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment