mirror of
https://github.com/thomiceli/opengist
synced 2024-11-08 12:55:50 +01:00
Update to go 1.23
This commit is contained in:
parent
0ef35fdb36
commit
d22f73e1e6
10
.github/workflows/go.yml
vendored
10
.github/workflows/go.yml
vendored
@ -15,10 +15,10 @@ jobs:
|
|||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Set up Go 1.22
|
- name: Set up Go 1.23
|
||||||
uses: actions/setup-go@v4
|
uses: actions/setup-go@v4
|
||||||
with:
|
with:
|
||||||
go-version: "1.22"
|
go-version: "1.23"
|
||||||
|
|
||||||
- name: Lint
|
- name: Lint
|
||||||
uses: golangci/golangci-lint-action@v3
|
uses: golangci/golangci-lint-action@v3
|
||||||
@ -36,10 +36,10 @@ jobs:
|
|||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Set up Go 1.22
|
- name: Set up Go 1.23
|
||||||
uses: actions/setup-go@v4
|
uses: actions/setup-go@v4
|
||||||
with:
|
with:
|
||||||
go-version: "1.22"
|
go-version: "1.23"
|
||||||
|
|
||||||
- name: Check Go modules
|
- name: Check Go modules
|
||||||
run: make go_mod check_changes
|
run: make go_mod check_changes
|
||||||
@ -52,7 +52,7 @@ jobs:
|
|||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
os: ["ubuntu-latest", "macOS-latest", "windows-latest"]
|
os: ["ubuntu-latest", "macOS-latest", "windows-latest"]
|
||||||
go: ["1.22"]
|
go: ["1.23"]
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
|
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
@ -13,10 +13,10 @@ jobs:
|
|||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Set up Go 1.22
|
- name: Set up Go 1.23
|
||||||
uses: actions/setup-go@v4
|
uses: actions/setup-go@v4
|
||||||
with:
|
with:
|
||||||
go-version: "1.22"
|
go-version: "1.23"
|
||||||
|
|
||||||
- name: Cross compile build
|
- name: Cross compile build
|
||||||
run: make all_crosscompile
|
run: make all_crosscompile
|
||||||
|
@ -15,7 +15,7 @@ RUN apk update && \
|
|||||||
musl-dev \
|
musl-dev \
|
||||||
libstdc++
|
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 PATH="/usr/local/go/bin:${PATH}"
|
||||||
ENV CGO_ENABLED=0
|
ENV CGO_ENABLED=0
|
||||||
|
|
||||||
|
@ -90,7 +90,7 @@ Opengist is now running on port 6157, you can browse http://localhost:6157
|
|||||||
|
|
||||||
### From source
|
### 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
|
```shell
|
||||||
git clone https://github.com/thomiceli/opengist
|
git clone https://github.com/thomiceli/opengist
|
||||||
|
@ -25,7 +25,7 @@ Opengist is now running on port 6157, you can browse http://localhost:6157
|
|||||||
|
|
||||||
Requirements:
|
Requirements:
|
||||||
* [Git](https://git-scm.com/downloads) (2.28+)
|
* [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+)
|
* [Node.js](https://nodejs.org/en/download/) (16+)
|
||||||
* [Make](https://linux.die.net/man/1/make) (optional, but easier)
|
* [Make](https://linux.die.net/man/1/make) (optional, but easier)
|
||||||
|
|
||||||
|
@ -60,7 +60,7 @@ chmod +x opengist
|
|||||||
|
|
||||||
Requirements:
|
Requirements:
|
||||||
* [Git](https://git-scm.com/downloads) (2.28+)
|
* [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+)
|
* [Node.js](https://nodejs.org/en/download/) (16+)
|
||||||
* [Make](https://linux.die.net/man/1/make) (optional, but easier)
|
* [Make](https://linux.die.net/man/1/make) (optional, but easier)
|
||||||
|
|
||||||
|
2
go.mod
2
go.mod
@ -1,6 +1,6 @@
|
|||||||
module github.com/thomiceli/opengist
|
module github.com/thomiceli/opengist
|
||||||
|
|
||||||
go 1.22
|
go 1.23
|
||||||
|
|
||||||
require (
|
require (
|
||||||
github.com/Kunde21/markdownfmt/v3 v3.1.0
|
github.com/Kunde21/markdownfmt/v3 v3.1.0
|
||||||
|
Loading…
Reference in New Issue
Block a user