Browse Source

Update to Go 1.20. Closes #2185

0.1.1
Gabe Kangas 2 years ago
parent
commit
24c51c831e
No known key found for this signature in database
GPG Key ID: 4345B2060657F330
  1. 2
      .github/workflows/browser-testing.yml
  2. 2
      .github/workflows/go-lint.yml
  3. 2
      .github/workflows/go-tests.yaml
  4. 2
      .github/workflows/hls-tests.yml
  5. 2
      .github/workflows/screenshots.yml
  6. 4
      .golangci.yml
  7. 2
      go.mod

2
.github/workflows/browser-testing.yml

@ -40,7 +40,7 @@ jobs: @@ -40,7 +40,7 @@ jobs:
- uses: actions/setup-go@v4
with:
go-version: '1.18.8'
go-version: '1.20'
cache: true
- name: Install Google Chrome

2
.github/workflows/go-lint.yml

@ -28,7 +28,7 @@ jobs: @@ -28,7 +28,7 @@ jobs:
- uses: actions/setup-go@v4
with:
go-version: '1.18.8'
go-version: '1.20'
cache: true
- uses: actions/checkout@v3
- name: golangci-lint

2
.github/workflows/go-tests.yaml

@ -12,7 +12,7 @@ jobs: @@ -12,7 +12,7 @@ jobs:
test:
strategy:
matrix:
go-version: [1.18.x, 1.19.x]
go-version: [1.19.x, 1.20.x]
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:

2
.github/workflows/hls-tests.yml

@ -27,7 +27,7 @@ jobs: @@ -27,7 +27,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: '1.18.8'
go-version: '1.20'
cache: true
- name: Cache node modules

2
.github/workflows/screenshots.yml

@ -17,7 +17,7 @@ jobs: @@ -17,7 +17,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: '1.18.8'
go-version: '1.20'
cache: true
- name: Cache node modules

4
.golangci.yml

@ -5,7 +5,7 @@ run: @@ -5,7 +5,7 @@ run:
# Define the Go version limit.
# Mainly related to generics support in go1.18.
# Default: use Go version from the go.mod file, fallback on the env var `GOVERSION`, fallback on 1.18
go: '1.18'
go: '1.20'
issues:
# The linter has a default list of ignorable errors. Turning this on will enable that list.
@ -69,7 +69,7 @@ linters-settings: @@ -69,7 +69,7 @@ linters-settings:
gosimple:
# Select the Go version to target. The default is '1.13'.
go: '1.18'
go: '1.20'
# https://staticcheck.io/docs/options#checks
checks: ['all']

2
go.mod

@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
module github.com/owncast/owncast
go 1.18
go 1.20
require (
github.com/aws/aws-sdk-go v1.44.271

Loading…
Cancel
Save