From 6aa758501d0120bf9a0ff3ff0db452e1634e0b44 Mon Sep 17 00:00:00 2001 From: Gabe Kangas Date: Tue, 17 Oct 2023 18:32:50 -0700 Subject: [PATCH] chore(go): bump project version number to 1.21 --- .github/workflows/browser-testing.yml | 2 +- .github/workflows/go-lint.yml | 2 +- .github/workflows/go-tests.yaml | 2 +- .github/workflows/hls-tests.yml | 2 +- .github/workflows/screenshots.yml | 2 +- .golangci.yml | 4 ++-- README.md | 2 +- contrib/owncast_for_windows.md | 2 +- go.mod | 2 +- 9 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/browser-testing.yml b/.github/workflows/browser-testing.yml index 36b053df9..65a135113 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 6a1832f53..a9dd2e8b2 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 779107ea0..858a2a7fd 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 27b6988cd..420e94808 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 71d60dcd9..07c055d5d 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 8e49964d4..faf434e4d 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 e07286dd7..3948140ca 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 e9935fd1e..76670d36a 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 92e23de7f..c992d5de3 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