Skip to content

Commit

Permalink
Merge pull request #5 from eexit/update-go
Browse files Browse the repository at this point in the history
Bump to Go 1.16
  • Loading branch information
eexit authored Jun 1, 2021
2 parents 7278461 + bcb7898 commit 4990d09
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 61 deletions.
1 change: 0 additions & 1 deletion .envrc

This file was deleted.

7 changes: 4 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- name: Set up Go 1.x
uses: actions/setup-go@v2
with:
go-version: ^1.15
go-version: ^1.16
- name: Get dependencies
run: go get -v -t -d ./...
- name: Build
Expand Down Expand Up @@ -82,14 +82,15 @@ jobs:
- name: Retrieve tag
id: tagref
run: echo ::set-output name=tag::${GITHUB_REF#refs/*/}
- uses: wangyoucao577/go-release-action@v1.11
- uses: wangyoucao577/go-release-action@v1.18
with:
github_token: ${{ secrets.GH_TOKEN }}
goos: linux
goarch: amd64
goversion: '1.15'
goversion: '1.16'
project_path: cmd/${{ matrix.target }}
binary_name: ${{ matrix.target }}
extra_files: LICENSE README.md
release_tag: ${{ steps.tagref.outputs.tag }}
ldflags: -X github.com/eexit/http2smtp/internal/api.Version=${{ steps.tagref.outputs.tag }}+${{ github.sha }}
executable_compression: upx
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM eexit/curl-healthchecker:v1.0.0 AS curl

FROM golang:1 AS builder
FROM golang:1.16 AS builder
RUN apt-get update -y \
&& apt-get install -y upx \
&& update-ca-certificates
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/eexit/http2smtp

go 1.15
go 1.16

require (
github.com/aws/aws-lambda-go v1.22.0
Expand Down
Loading

0 comments on commit 4990d09

Please sign in to comment.