chore(deps): update Go to 1.20 (#726)

* chore(github): Update to go 1.20

* chore(go): enable language functionality in 1.20

* build: update go versions and rename dockerfile.ci
This commit is contained in:
Kyle Sanderson 2023-02-28 14:29:51 -08:00 committed by GitHub
parent ca196f0bf1
commit b2d93d50c5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 10 additions and 8 deletions

View file

@ -58,10 +58,11 @@ jobs:
name: web-build
path: web/build
# 1.20 is the last version to support Windows < 10, Server < 2016, and MacOS < 1.15.
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: '1.19.2'
go-version: '1.20.1'
cache: true
- name: Run GoReleaser build
@ -96,10 +97,11 @@ jobs:
name: web-build
path: web/build
# 1.20 is the last version to support Windows < 10, Server < 2016, and MacOS < 1.15.
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: '1.19.2'
go-version: '1.20.1'
cache: true
- name: Run GoReleaser build and publish tags
@ -157,7 +159,7 @@ jobs:
uses: docker/build-push-action@v3
with:
context: .
file: ./Dockerfile.ci
file: ./ci.Dockerfile
platforms: linux/amd64,linux/arm/v7,linux/arm64/v8
push: ${{ github.repository_owner == 'autobrr' }}
tags: ${{ steps.meta.outputs.tags }}
@ -167,4 +169,4 @@ jobs:
VERSION=${{ fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.version'] }}
REVISION=${{ github.event.pull_request.head.sha }}
- name: Image digest
run: echo ${{ steps.docker_build.outputs.digest }}
run: echo ${{ steps.docker_build.outputs.digest }}