Skip to content

Commit

Permalink
chore(go): update CI jobs to use Go 1.20
Browse files Browse the repository at this point in the history
  • Loading branch information
gabek committed Apr 18, 2023
1 parent 990571b commit 81cfa95
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/browser-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
- uses: actions/setup-go@v4
with:
go-version: '1.18.8'
go-version: '1.20'
cache: true

- name: Install Google Chrome
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/go-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:

- uses: actions/setup-go@v4
with:
go-version: '1.18.8'
go-version: '1.20'
cache: true
- uses: actions/checkout@v3
- name: golangci-lint
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/hls-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: '1.18.8'
go-version: '1.20'
cache: true

- name: Cache node modules
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/screenshots.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: '1.18.8'
go-version: '1.20'
cache: true

- name: Cache node modules
Expand Down
4 changes: 2 additions & 2 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.18'
go: '1.20'

issues:
# The linter has a default list of ignorable errors. Turning this on will enable that list.
Expand Down Expand Up @@ -69,7 +69,7 @@ linters-settings:

gosimple:
# Select the Go version to target. The default is '1.13'.
go: '1.18'
go: '1.20'
# https://staticcheck.io/docs/options#checks
checks: ['all']

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.18 or above).
1. Install the [Go toolchain](https://golang.org/dl/) (1.20 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.
Expand Down
2 changes: 1 addition & 1 deletion contrib/owncast_for_windows.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.18 or above).
- Install the [Go toolchain](https://golang.org/dl/) (1.20 or above).

### Read more

Expand Down

0 comments on commit 81cfa95

Please sign in to comment.