Skip to content

Commit 4990d09

Browse files
authored
Merge pull request #5 from eexit/update-go
Bump to Go 1.16
2 parents 7278461 + bcb7898 commit 4990d09

File tree

5 files changed

+6
-61
lines changed

5 files changed

+6
-61
lines changed

.envrc

-1
This file was deleted.

.github/workflows/main.yml

+4-3
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
- name: Set up Go 1.x
1414
uses: actions/setup-go@v2
1515
with:
16-
go-version: ^1.15
16+
go-version: ^1.16
1717
- name: Get dependencies
1818
run: go get -v -t -d ./...
1919
- name: Build
@@ -82,14 +82,15 @@ jobs:
8282
- name: Retrieve tag
8383
id: tagref
8484
run: echo ::set-output name=tag::${GITHUB_REF#refs/*/}
85-
- uses: wangyoucao577/go-release-action@v1.11
85+
- uses: wangyoucao577/go-release-action@v1.18
8686
with:
8787
github_token: ${{ secrets.GH_TOKEN }}
8888
goos: linux
8989
goarch: amd64
90-
goversion: '1.15'
90+
goversion: '1.16'
9191
project_path: cmd/${{ matrix.target }}
9292
binary_name: ${{ matrix.target }}
9393
extra_files: LICENSE README.md
9494
release_tag: ${{ steps.tagref.outputs.tag }}
9595
ldflags: -X github.com/eexit/http2smtp/internal/api.Version=${{ steps.tagref.outputs.tag }}+${{ github.sha }}
96+
executable_compression: upx

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
FROM eexit/curl-healthchecker:v1.0.0 AS curl
22

3-
FROM golang:1 AS builder
3+
FROM golang:1.16 AS builder
44
RUN apt-get update -y \
55
&& apt-get install -y upx \
66
&& update-ca-certificates

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/eexit/http2smtp
22

3-
go 1.15
3+
go 1.16
44

55
require (
66
github.com/aws/aws-lambda-go v1.22.0

0 commit comments

Comments
 (0)