1
0
mirror of https://github.com/getsops/sops.git synced 2026-02-05 12:45:21 +01:00

Update Go to 1.18

This is required for the latest Azure SDK, and comes with general
improvements for certain CPU types.

Includes a change of `%w` -> `%v` for `t.Errorf` due to dropped support
for wrapping.

Signed-off-by: Hidde Beydals <hello@hidde.co>
This commit is contained in:
Hidde Beydals
2022-05-30 13:18:39 +02:00
parent 00141149bf
commit 1e4e500dc1
4 changed files with 6 additions and 6 deletions

View File

@@ -28,10 +28,10 @@ jobs:
steps:
- name: Install dependencies
run: sudo apt-get update && sudo apt-get install git -y
- name: Set up Go 1.17
- name: Set up Go 1.18
uses: actions/setup-go@v2
with:
go-version: 1.17
go-version: 1.18
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v2

View File

@@ -15,10 +15,10 @@ jobs:
run: sudo apt-get update && sudo apt-get install git ruby rpm -y
- name: Install fpm
run: gem install fpm || sudo gem install fpm
- name: Set up Go 1.17
- name: Set up Go 1.18
uses: actions/setup-go@v2
with:
go-version: 1.17
go-version: 1.18
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v2

View File

@@ -1,4 +1,4 @@
FROM golang:1.17
FROM golang:1.18
COPY . /go/src/go.mozilla.org/sops
WORKDIR /go/src/go.mozilla.org/sops

View File

@@ -1,4 +1,4 @@
FROM golang:1.17-alpine3.15 AS builder
FROM golang:1.18-alpine3.16 AS builder
RUN apk --no-cache add make