Upgrade to Go 1.20
With the release of Go 1.20, version 1.18 is not supported anymore. This change upgrades the project to Go 1.20.
This commit is contained in:
@@ -101,7 +101,7 @@ jobs:
|
|||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
- uses: actions/setup-go@v3
|
- uses: actions/setup-go@v3
|
||||||
with:
|
with:
|
||||||
go-version: '^1.18.3'
|
go-version: '^1.20.1'
|
||||||
- name: Build Binaries
|
- name: Build Binaries
|
||||||
run: |
|
run: |
|
||||||
make binary-clean binary-all
|
make binary-clean binary-all
|
||||||
|
|||||||
@@ -96,7 +96,7 @@ jobs:
|
|||||||
name: workspace
|
name: workspace
|
||||||
- uses: actions/setup-go@v3
|
- uses: actions/setup-go@v3
|
||||||
with:
|
with:
|
||||||
go-version: '1.18.3' # The Go version to download (if necessary) and use.
|
go-version: '1.20.1' # The Go version to download (if necessary) and use.
|
||||||
- name: Build Binaries
|
- name: Build Binaries
|
||||||
run: |
|
run: |
|
||||||
make binary-clean binary-all
|
make binary-clean binary-all
|
||||||
|
|||||||
+2
-2
@@ -9,7 +9,7 @@ Depending on the functionality you are adding, you may need to setup a developme
|
|||||||
|
|
||||||
# Modifying the Scrutiny Backend Server (API)
|
# Modifying the Scrutiny Backend Server (API)
|
||||||
|
|
||||||
1. install the [Go runtime](https://go.dev/doc/install) (v1.18+)
|
1. install the [Go runtime](https://go.dev/doc/install) (v1.20+)
|
||||||
2. download the `scrutiny-web-frontend.tar.gz` for
|
2. download the `scrutiny-web-frontend.tar.gz` for
|
||||||
the [latest release](https://github.com/AnalogJ/scrutiny/releases/latest). Extract to a folder named `dist`
|
the [latest release](https://github.com/AnalogJ/scrutiny/releases/latest). Extract to a folder named `dist`
|
||||||
3. create a `scrutiny.yaml` config file
|
3. create a `scrutiny.yaml` config file
|
||||||
@@ -63,7 +63,7 @@ The frontend is written in Angular. If you're working on the frontend and can us
|
|||||||
If you're developing a feature that requires changes to the backend and the frontend, or a frontend feature that requires real data,
|
If you're developing a feature that requires changes to the backend and the frontend, or a frontend feature that requires real data,
|
||||||
you'll need to follow the steps below:
|
you'll need to follow the steps below:
|
||||||
|
|
||||||
1. install the [Go runtime](https://go.dev/doc/install) (v1.18+)
|
1. install the [Go runtime](https://go.dev/doc/install) (v1.20+)
|
||||||
2. install [NodeJS](https://nodejs.org/en/download/)
|
2. install [NodeJS](https://nodejs.org/en/download/)
|
||||||
3. create a `scrutiny.yaml` config file
|
3. create a `scrutiny.yaml` config file
|
||||||
```yaml
|
```yaml
|
||||||
|
|||||||
+1
-1
@@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
|
|
||||||
########
|
########
|
||||||
FROM golang:1.18-bullseye as backendbuild
|
FROM golang:1.20-bullseye as backendbuild
|
||||||
|
|
||||||
WORKDIR /go/src/github.com/analogj/scrutiny
|
WORKDIR /go/src/github.com/analogj/scrutiny
|
||||||
COPY . /go/src/github.com/analogj/scrutiny
|
COPY . /go/src/github.com/analogj/scrutiny
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
|
|
||||||
########
|
########
|
||||||
FROM golang:1.18-bullseye as backendbuild
|
FROM golang:1.20-bullseye as backendbuild
|
||||||
|
|
||||||
WORKDIR /go/src/github.com/analogj/scrutiny
|
WORKDIR /go/src/github.com/analogj/scrutiny
|
||||||
|
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
|
|
||||||
########
|
########
|
||||||
FROM golang:1.18-bullseye as backendbuild
|
FROM golang:1.20-bullseye as backendbuild
|
||||||
|
|
||||||
WORKDIR /go/src/github.com/analogj/scrutiny
|
WORKDIR /go/src/github.com/analogj/scrutiny
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user