ci: Update builds to Go 1.18

This commit is contained in:
Marius 2022-04-12 09:14:28 +02:00
parent c0f2026e96
commit 9ef0b54c7c
3 changed files with 4 additions and 4 deletions

View File

@ -9,7 +9,7 @@ jobs:
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
go-version: [1.16.x, 1.17.x] go-version: [1.16.x, 1.17.x, 1.18.x]
platform: [ubuntu-latest, macos-latest, windows-latest] platform: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.platform }} runs-on: ${{ matrix.platform }}
env: env:

View File

@ -80,10 +80,10 @@ jobs:
uses: actions/checkout@v3 uses: actions/checkout@v3
- -
name: Install Go 1.17.2 name: Install Go 1.18
uses: actions/setup-go@v3 uses: actions/setup-go@v3
with: with:
go-version: '1.17.2' go-version: '1.18'
- -
name: Build TUSD name: Build TUSD

2
go.mod
View File

@ -2,7 +2,7 @@ module github.com/tus/tusd
// Specify the Go version needed for the Heroku deployment // Specify the Go version needed for the Heroku deployment
// See https://github.com/heroku/heroku-buildpack-go#go-module-specifics // See https://github.com/heroku/heroku-buildpack-go#go-module-specifics
// +heroku goVersion go1.16 // +heroku goVersion go1.18
go 1.16 go 1.16
require ( require (