chore(go): bump project version number to 1.21

This commit is contained in:
Gabe Kangas 2023-10-17 18:32:50 -07:00
parent ef6902695e
commit 6aa758501d
No known key found for this signature in database
GPG Key ID: 4345B2060657F330
9 changed files with 10 additions and 10 deletions

View File

@ -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

View File

@ -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

View File

@ -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:

View File

@ -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

View File

@ -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

View File

@ -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']

View File

@ -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.

View File

@ -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

2
go.mod
View File

@ -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