From 3c7ddbe8925a0bea589ec515bd8a7d988889d6d7 Mon Sep 17 00:00:00 2001 From: wt Date: Thu, 17 Sep 2026 16:20:49 +0700 Subject: [PATCH 1/3] Update .gitea/workflows/actions.yaml --- .gitea/workflows/actions.yaml | 36 ++++++++++++++++++++++------------- 1 file changed, 23 insertions(+), 13 deletions(-) diff --git a/.gitea/workflows/actions.yaml b/.gitea/workflows/actions.yaml index 2664cc4..f22bd9e 100644 --- a/.gitea/workflows/actions.yaml +++ b/.gitea/workflows/actions.yaml @@ -4,15 +4,20 @@ on: [push] jobs: Build: - runs-on: golang-1.26.1-alpine + runs-on: ubuntu-latest steps: - name: Check out repository code - uses: actions/checkout@v3 - - name: Prepare build + uses: actions/checkout@v4 + - name: Set up Go + uses: actions/setup-go@v5 + with: + go-version-file: 'go.mod' + cache: true # Enables automatic caching for Go modules to speed up runs + - name: Install dependencies run: go mod download && go mod tidy - - name: Build - run: go build - - uses: actions/upload-artifact@v3 + - name: Build Application + run: go build -v + - uses: actions/upload-artifact@v4 with: name: artifacts path: | @@ -23,14 +28,19 @@ jobs: runs-on: golang-1.26.1-alpine steps: - name: Check out repository code - uses: actions/checkout@v3 - - name: Prepare build - run: go mod download && go mod tidy - - name: Build - run: GOARCH=arm64 GOOS=linux go build - - uses: actions/upload-artifact@v3 + uses: actions/checkout@v4 + - name: Set up Go + uses: actions/setup-go@v5 with: - name: artifacts-arm64 + go-version-file: 'go.mod' + cache: true # Enables automatic caching for Go modules to speed up runs + - name: Install dependencies + run: go mod download && go mod tidy + - name: Build Application + run: GOARCH=arm64 GOOS=linux go build -v + - uses: actions/upload-artifact@v4 + with: + name: artifacts path: | ./up ./up.conf -- 2.54.0 From cda8f49abd2800174a9c9391c872ed00ca6152ab Mon Sep 17 00:00:00 2001 From: wt Date: Thu, 17 Sep 2026 16:22:42 +0700 Subject: [PATCH 2/3] Update .gitea/workflows/actions.yaml --- .gitea/workflows/actions.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/actions.yaml b/.gitea/workflows/actions.yaml index f22bd9e..fd168ec 100644 --- a/.gitea/workflows/actions.yaml +++ b/.gitea/workflows/actions.yaml @@ -17,7 +17,7 @@ jobs: run: go mod download && go mod tidy - name: Build Application run: go build -v - - uses: actions/upload-artifact@v4 + - uses: actions/upload-artifact@v3 with: name: artifacts path: | @@ -38,7 +38,7 @@ jobs: run: go mod download && go mod tidy - name: Build Application run: GOARCH=arm64 GOOS=linux go build -v - - uses: actions/upload-artifact@v4 + - uses: actions/upload-artifact@v3 with: name: artifacts path: | -- 2.54.0 From 863b583e99c58036d5325fe24fa718cf4116598b Mon Sep 17 00:00:00 2001 From: wt Date: Thu, 17 Sep 2026 16:24:36 +0700 Subject: [PATCH 3/3] Update .gitea/workflows/actions.yaml --- .gitea/workflows/actions.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/actions.yaml b/.gitea/workflows/actions.yaml index fd168ec..596ff4b 100644 --- a/.gitea/workflows/actions.yaml +++ b/.gitea/workflows/actions.yaml @@ -19,7 +19,7 @@ jobs: run: go build -v - uses: actions/upload-artifact@v3 with: - name: artifacts + name: up path: | ./up ./up.conf @@ -40,7 +40,7 @@ jobs: run: GOARCH=arm64 GOOS=linux go build -v - uses: actions/upload-artifact@v3 with: - name: artifacts + name: up-arm64 path: | ./up ./up.conf -- 2.54.0