From 9ef0b54c7c13c87a0aaed01686fabf21e75ee90a Mon Sep 17 00:00:00 2001 From: Marius Date: Tue, 12 Apr 2022 09:14:28 +0200 Subject: [PATCH] ci: Update builds to Go 1.18 --- .github/workflows/continuous-integration.yaml | 2 +- .github/workflows/release.yaml | 4 ++-- go.mod | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/continuous-integration.yaml b/.github/workflows/continuous-integration.yaml index b2fad51..2006bbb 100644 --- a/.github/workflows/continuous-integration.yaml +++ b/.github/workflows/continuous-integration.yaml @@ -9,7 +9,7 @@ jobs: strategy: fail-fast: false 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] runs-on: ${{ matrix.platform }} env: diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index b04c1f4..27b7308 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -80,10 +80,10 @@ jobs: uses: actions/checkout@v3 - - name: Install Go 1.17.2 + name: Install Go 1.18 uses: actions/setup-go@v3 with: - go-version: '1.17.2' + go-version: '1.18' - name: Build TUSD diff --git a/go.mod b/go.mod index 07a6978..caa10dd 100644 --- a/go.mod +++ b/go.mod @@ -2,7 +2,7 @@ module github.com/tus/tusd // Specify the Go version needed for the Heroku deployment // See https://github.com/heroku/heroku-buildpack-go#go-module-specifics -// +heroku goVersion go1.16 +// +heroku goVersion go1.18 go 1.16 require (