Skip to content

Take control over your live stream video by running it yourself. Streaming + chat out of the box.

Update to Go 1.20. Closes #2185

Gabe Kangas4eee105f5c06
diff --git a/.github/workflows/browser-testing.yml b/.github/workflows/browser-testing.yml
index 090bd1a768..15ddd63557 100644
--- a/.github/workflows/browser-testing.yml
+++ b/.github/workflows/browser-testing.yml
@@ -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
diff --git a/.github/workflows/go-lint.yml b/.github/workflows/go-lint.yml
index af49633289..85a75cf832 100644
--- a/.github/workflows/go-lint.yml
+++ b/.github/workflows/go-lint.yml
@@ -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
diff --git a/.github/workflows/go-tests.yaml b/.github/workflows/go-tests.yaml
index 47b5a6cfc4..cc619c123e 100644
--- a/.github/workflows/go-tests.yaml
+++ b/.github/workflows/go-tests.yaml
@@ -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:
diff --git a/.github/workflows/hls-tests.yml b/.github/workflows/hls-tests.yml
index 0e5a043bd1..94452c4d49 100644
--- a/.github/workflows/hls-tests.yml
+++ b/.github/workflows/hls-tests.yml
@@ -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
diff --git a/.github/workflows/screenshots.yml b/.github/workflows/screenshots.yml
index ad1d2299aa..1367f5d263 100644
--- a/.github/workflows/screenshots.yml
+++ b/.github/workflows/screenshots.yml
@@ -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
diff --git a/.golangci.yml b/.golangci.yml
index 0db1db9421..8e49964d40 100644
--- a/.golangci.yml
+++ b/.golangci.yml
@@ -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:
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']
diff --git a/go.mod b/go.mod
index 7a0a0ddfa8..a10f48669a 100644
--- a/go.mod
+++ b/go.mod
@@ -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