mirror of
https://github.com/owncast/owncast.git
synced 2024-11-23 13:24:33 +03:00
bump min golang ver to 1.18 (#2412)
This commit is contained in:
parent
a0933da8d1
commit
1558834df2
6 changed files with 9 additions and 7 deletions
2
.github/workflows/browser-testing.yml
vendored
2
.github/workflows/browser-testing.yml
vendored
|
@ -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
|
||||
|
|
2
.github/workflows/go-lint.yml
vendored
2
.github/workflows/go-lint.yml
vendored
|
@ -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
|
||||
|
|
2
.github/workflows/hls-tests.yml
vendored
2
.github/workflows/hls-tests.yml
vendored
|
@ -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
|
||||
|
|
|
@ -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']
|
||||
|
||||
|
|
|
@ -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.
|
||||
|
|
2
go.mod
2
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
|
||||
|
|
Loading…
Reference in a new issue