From 4f7db53bce2f8ea65f72287101201f9390f9f514 Mon Sep 17 00:00:00 2001 From: rook1e Date: Sat, 24 Aug 2024 17:25:01 +0800 Subject: [PATCH] fix(ci): bump env version --- .github/workflows/release.yml | 2 +- .github/workflows/test.yml | 2 +- Dockerfile | 4 ++-- README.md | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f916930..4fed924 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -47,7 +47,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: "1.22" + go-version: "1.23" - name: Build for Darwin if: ${{ startsWith(matrix.os, 'macos') }} uses: goreleaser/goreleaser-action@v6 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 372dbe8..ad0ec21 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -13,7 +13,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: "1.22" + go-version: "1.23" - name: Test run: | go install go.uber.org/mock/mockgen@latest diff --git a/Dockerfile b/Dockerfile index 6dde7a7..5b30f6f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,11 @@ # build frontend -FROM node:21 as fe +FROM node:22 as fe WORKDIR /src COPY .git frontend ./ RUN npm i && npm run build # build backend -FROM golang:1.22 as be +FROM golang:1.23 as be WORKDIR /src COPY . ./ COPY --from=fe /src/build ./frontend/build/ diff --git a/README.md b/README.md index a4abc9a..833dfb3 100644 --- a/README.md +++ b/README.md @@ -53,7 +53,7 @@ Download from [Releases](https://github.com/0x2E/fusion/releases). ### 3. Build from source -1. Prepare dependencies: Go 1.22+, Node.js 21+. +1. Prepare dependencies: Go 1.23+, Node.js 22+. 2. Check `scripts.sh` for more details. For example: