Update to go 1.23

This commit is contained in:
Thomas Miceli 2024-09-09 12:04:58 +02:00
parent 0ef35fdb36
commit d22f73e1e6
7 changed files with 12 additions and 12 deletions

View File

@ -15,10 +15,10 @@ jobs:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Go 1.22
- name: Set up Go 1.23
uses: actions/setup-go@v4
with:
go-version: "1.22"
go-version: "1.23"
- name: Lint
uses: golangci/golangci-lint-action@v3
@ -36,10 +36,10 @@ jobs:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Go 1.22
- name: Set up Go 1.23
uses: actions/setup-go@v4
with:
go-version: "1.22"
go-version: "1.23"
- name: Check Go modules
run: make go_mod check_changes
@ -52,7 +52,7 @@ jobs:
fail-fast: false
matrix:
os: ["ubuntu-latest", "macOS-latest", "windows-latest"]
go: ["1.22"]
go: ["1.23"]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout

View File

@ -13,10 +13,10 @@ jobs:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Go 1.22
- name: Set up Go 1.23
uses: actions/setup-go@v4
with:
go-version: "1.22"
go-version: "1.23"
- name: Cross compile build
run: make all_crosscompile

View File

@ -15,7 +15,7 @@ RUN apk update && \
musl-dev \
libstdc++
COPY --from=golang:1.22-alpine /usr/local/go/ /usr/local/go/
COPY --from=golang:1.23-alpine /usr/local/go/ /usr/local/go/
ENV PATH="/usr/local/go/bin:${PATH}"
ENV CGO_ENABLED=0

View File

@ -90,7 +90,7 @@ Opengist is now running on port 6157, you can browse http://localhost:6157
### From source
Requirements: [Git](https://git-scm.com/downloads) (2.28+), [Go](https://go.dev/doc/install) (1.22+), [Node.js](https://nodejs.org/en/download/) (16+), [Make](https://linux.die.net/man/1/make) (optional, but easier)
Requirements: [Git](https://git-scm.com/downloads) (2.28+), [Go](https://go.dev/doc/install) (1.23+), [Node.js](https://nodejs.org/en/download/) (16+), [Make](https://linux.die.net/man/1/make) (optional, but easier)
```shell
git clone https://github.com/thomiceli/opengist

View File

@ -25,7 +25,7 @@ Opengist is now running on port 6157, you can browse http://localhost:6157
Requirements:
* [Git](https://git-scm.com/downloads) (2.28+)
* [Go](https://go.dev/doc/install) (1.22+)
* [Go](https://go.dev/doc/install) (1.23+)
* [Node.js](https://nodejs.org/en/download/) (16+)
* [Make](https://linux.die.net/man/1/make) (optional, but easier)

View File

@ -60,7 +60,7 @@ chmod +x opengist
Requirements:
* [Git](https://git-scm.com/downloads) (2.28+)
* [Go](https://go.dev/doc/install) (1.22+)
* [Go](https://go.dev/doc/install) (1.23+)
* [Node.js](https://nodejs.org/en/download/) (16+)
* [Make](https://linux.die.net/man/1/make) (optional, but easier)

2
go.mod
View File

@ -1,6 +1,6 @@
module github.com/thomiceli/opengist
go 1.22
go 1.23
require (
github.com/Kunde21/markdownfmt/v3 v3.1.0