diff --git a/.github/workflows/browser-testing.yml b/.github/workflows/browser-testing.yml index ebc9ad875..596e49ba0 100644 --- a/.github/workflows/browser-testing.yml +++ b/.github/workflows/browser-testing.yml @@ -20,6 +20,6 @@ jobs: uses: actions/checkout@v3 - uses: actions/setup-go@v3 with: - go-version: '1.18' + go-version: '1.18.8' - name: Run Browser tests run: cd test/automated/browser && ./run.sh diff --git a/.github/workflows/go-lint.yml b/.github/workflows/go-lint.yml index 28a42416c..6bd7cdf2c 100644 --- a/.github/workflows/go-lint.yml +++ b/.github/workflows/go-lint.yml @@ -30,6 +30,8 @@ jobs: fetch-depth: 0 - uses: actions/setup-go@v3 + with: + go-version: '1.18.8' - uses: actions/checkout@v3 - name: golangci-lint uses: golangci/golangci-lint-action@v3 diff --git a/.github/workflows/hls-tests.yml b/.github/workflows/hls-tests.yml index 2decef2de..55f064304 100644 --- a/.github/workflows/hls-tests.yml +++ b/.github/workflows/hls-tests.yml @@ -27,6 +27,6 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-go@v3 with: - go-version: '1.17.2' + go-version: '1.18.8' - name: Run HLS tests run: cd test/automated/hls && ./run.sh diff --git a/.golangci.yml b/.golangci.yml index b781ec6fd..0db1db942 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -4,8 +4,8 @@ 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.17 - go: '1.17' + # Default: use Go version from the go.mod file, fallback on the env var `GOVERSION`, fallback on 1.18 + go: '1.18' 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.17' + go: '1.18' # https://staticcheck.io/docs/options#checks checks: ['all'] diff --git a/README.md b/README.md index e283af266..4cdf5eb84 100644 --- a/README.md +++ b/README.md @@ -89,7 +89,7 @@ The Owncast backend is a service written in Go. 1. Ensure you have pre-requisites 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.17 or above). +1. Install the [Go toolchain](https://golang.org/dl/) (1.18 or above). 1. Clone the repo. `git clone https://github.com/owncast/owncast` 1. `go run main.go` will run from source. 1. Visit `http://yourserver:8080` to access the web interface or `http://yourserver:8080/admin` to access the admin. diff --git a/go.mod b/go.mod index 3e7f57283..c6d4ec205 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/owncast/owncast -go 1.17 +go 1.18 require ( github.com/amalfra/etag v1.0.0