|
@@ -11,14 +11,14 @@ jobs:
|
|
runs-on: ${{ matrix.os }}
|
|
runs-on: ${{ matrix.os }}
|
|
strategy:
|
|
strategy:
|
|
matrix:
|
|
matrix:
|
|
- go: [1.15]
|
|
|
|
|
|
+ go: [1.16]
|
|
os: [ubuntu-latest, macos-latest]
|
|
os: [ubuntu-latest, macos-latest]
|
|
upload-coverage: [true]
|
|
upload-coverage: [true]
|
|
include:
|
|
include:
|
|
- #- go: 1.14
|
|
|
|
- # os: ubuntu-latest
|
|
|
|
- # upload-coverage: false
|
|
|
|
- go: 1.15
|
|
- go: 1.15
|
|
|
|
+ os: ubuntu-latest
|
|
|
|
+ upload-coverage: false
|
|
|
|
+ - go: 1.16
|
|
os: windows-latest
|
|
os: windows-latest
|
|
upload-coverage: false
|
|
upload-coverage: false
|
|
|
|
|
|
@@ -85,6 +85,7 @@ jobs:
|
|
if: ${{ matrix.upload-coverage && startsWith(matrix.os, 'ubuntu-') }}
|
|
if: ${{ matrix.upload-coverage && startsWith(matrix.os, 'ubuntu-') }}
|
|
uses: crazy-max/ghaction-xgo@v1
|
|
uses: crazy-max/ghaction-xgo@v1
|
|
with:
|
|
with:
|
|
|
|
+ go_version: 1.16.x
|
|
dest: cross
|
|
dest: cross
|
|
prefix: sftpgo
|
|
prefix: sftpgo
|
|
targets: linux/arm64,linux/ppc64le
|
|
targets: linux/arm64,linux/ppc64le
|
|
@@ -235,7 +236,7 @@ jobs:
|
|
- name: Set up Go
|
|
- name: Set up Go
|
|
uses: actions/setup-go@v2
|
|
uses: actions/setup-go@v2
|
|
with:
|
|
with:
|
|
- go-version: 1.15
|
|
|
|
|
|
+ go-version: 1.16
|
|
|
|
|
|
- name: Build
|
|
- 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
|
|
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
|