Skip to content

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

chore(go): bump project version number to 1.21

Gabe Kangas438771317771
diff --git a/.github/workflows/browser-testing.yml b/.github/workflows/browser-testing.yml
index 36b053df95..65a1351136 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.20'
+ go-version: '1.21'
cache: true
- name: Install Google Chrome
diff --git a/.github/workflows/go-lint.yml b/.github/workflows/go-lint.yml
index 6a1832f53c..a9dd2e8b21 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.20'
+ go-version: '1.21'
cache: true
- uses: actions/checkout@v4
- name: golangci-lint
diff --git a/.github/workflows/go-tests.yaml b/.github/workflows/go-tests.yaml
index 779107ea09..858a2a7fd1 100644
--- a/.github/workflows/go-tests.yaml
+++ b/.github/workflows/go-tests.yaml
@@ -12,7 +12,7 @@ jobs:
test:
strategy:
matrix:
- go-version: [1.19.x, 1.20.x]
+ go-version: [1.20.x, 1.21.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 27b6988cd6..420e948084 100644
--- a/.github/workflows/hls-tests.yml
+++ b/.github/workflows/hls-tests.yml
@@ -27,7 +27,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
- go-version: '1.20'
+ go-version: '1.21'
cache: true
- name: Cache node modules
diff --git a/.github/workflows/screenshots.yml b/.github/workflows/screenshots.yml
index 71d60dcd91..07c055d5db 100644
--- a/.github/workflows/screenshots.yml
+++ b/.github/workflows/screenshots.yml
@@ -17,7 +17,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
- go-version: '1.20'
+ go-version: '1.21'
cache: true
- name: Cache node modules
diff --git a/.golangci.yml b/.golangci.yml
index 8e49964d40..faf434e4da 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.20'
+ go: '1.21'
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.20'
+ go: '1.21'
# https://staticcheck.io/docs/options#checks
checks: ['all']
diff --git a/README.md b/README.md
index e07286dd7a..3948140cae 100644
--- a/README.md
+++ b/README.md
@@ -95,7 +95,7 @@ The Owncast backend is a service written in Go.
1. Ensure you have prerequisites installed.
- C compiler, such as [GCC compiler](https://gcc.gnu.org/install/download.html) or a [Musl-compatible compiler](https://musl.libc.org/)
- [ffmpeg](https://ffmpeg.org/download.html)
-1. Install the [Go toolchain](https://golang.org/dl/) (1.20 or above).
+1. Install the [Go toolchain](https://golang.org/dl/) (1.21 or above).
1. Clone the repo. `git clone https://github.com/owncast/owncast`
1. `go run main.go` will run from the source.
1. Visit `http://yourserver:8080` to access the web interface or `http://yourserver:8080/admin` to access the admin.
diff --git a/contrib/owncast_for_windows.md b/contrib/owncast_for_windows.md
index e9935fd1ee..76670d36aa 100644
--- a/contrib/owncast_for_windows.md
+++ b/contrib/owncast_for_windows.md
@@ -43,7 +43,7 @@ Here is the list for all the prerequisites required ->
- npm (Node Package Manager) is installed as `sudo apt install npm`.
- Node.js is installed (LTS Version) `sudo apt install nodejs`.
- [ffmpeg](https://ffmpeg.org/download.html)
-- Install the [Go toolchain](https://golang.org/dl/) (1.20 or above).
+- Install the [Go toolchain](https://golang.org/dl/) (1.21 or above).
### Read more
diff --git a/go.mod b/go.mod
index 92e23de7f1..c992d5de3c 100644
--- a/go.mod
+++ b/go.mod
@@ -1,6 +1,6 @@
module github.com/owncast/owncast
-go 1.20
+go 1.21
require (
github.com/aws/aws-sdk-go v1.45.27