update deps and use Go 1.16

This commit is contained in:
Nicola Murino
2021-03-07 11:57:14 +01:00
parent bdb6f585c7
commit 591bebef0c
6 changed files with 80 additions and 72 deletions
+3 -3
View File
@@ -11,7 +11,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
go: [1.15]
go: [1.16]
os: [ubuntu-18.04, macos-10.15, windows-2019]
upload-coverage: [false]
@@ -78,7 +78,7 @@ jobs:
if: ${{ startsWith(matrix.os, 'ubuntu-') }}
uses: crazy-max/ghaction-xgo@v1
with:
go_version: 1.15.x
go_version: 1.16.x
dest: cross
prefix: sftpgo
targets: linux/arm64,linux/ppc64le
@@ -229,7 +229,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.15
go-version: 1.16
- name: Build
run: go build -ldflags "-s -w -X github.com/drakkan/sftpgo/version.commit=`git describe --always --dirty` -X github.com/drakkan/sftpgo/version.date=`date -u +%FT%TZ`" -o sftpgo
+1 -1
View File
@@ -5,7 +5,7 @@ on:
tags: 'v*'
env:
GO_VERSION: 1.15.8
GO_VERSION: 1.16.1
jobs:
create-release: