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:
4
.github/workflows/cli.yml
vendored
4
.github/workflows/cli.yml
vendored
@@ -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
|
||||
|
||||
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user