This is an automated email from the ASF dual-hosted git repository.
AlexStocks pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/dubbo-go-pixiu.git
The following commit(s) were added to refs/heads/develop by this push:
new 5c1eab3f5 ci: add Docker build validation (#1033)
5c1eab3f5 is described below
commit 5c1eab3f5c61997e27451f1699877a4cee8f9f66
Author: Zerui Yang <[email protected]>
AuthorDate: Mon Sep 7 17:57:10 2026 +0800
ci: add Docker build validation (#1033)
---
.github/workflows/docker-build.yml | 39 ++++++++++++++++++++++++++++++++++++
.github/workflows/github-actions.yml | 8 ++++----
.github/workflows/release.yml | 4 ++--
3 files changed, 45 insertions(+), 6 deletions(-)
diff --git a/.github/workflows/docker-build.yml
b/.github/workflows/docker-build.yml
new file mode 100644
index 000000000..c5e16681e
--- /dev/null
+++ b/.github/workflows/docker-build.yml
@@ -0,0 +1,39 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
+name: Docker Build
+
+on:
+ push:
+ pull_request:
+
+permissions:
+ contents: read
+
+jobs:
+ docker-build:
+ name: Docker Build
+ runs-on: ubuntu-latest
+
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v5
+
+ - name: Build Docker image
+ run: docker build -t dubbo-go-pixiu:ci .
diff --git a/.github/workflows/github-actions.yml
b/.github/workflows/github-actions.yml
index 38a210fd9..1d4618a56 100644
--- a/.github/workflows/github-actions.yml
+++ b/.github/workflows/github-actions.yml
@@ -78,7 +78,7 @@ jobs:
go-version-file: 'go.mod'
cache: true
- name: golangci-lint
- uses: golangci/golangci-lint-action@v8 # NOSONAR
+ uses: golangci/golangci-lint-action@v9 # NOSONAR
with:
version: v2.4.0
args: ${{ steps.lint_base.outputs.sha != '' &&
format('--new-from-rev={0}', steps.lint_base.outputs.sha) || '' }}
@@ -100,10 +100,10 @@ jobs:
go test ./... -gcflags=-l -race -coverprofile=coverage.txt
-covermode=atomic
- name: Upload coverage to Codecov
- uses: codecov/codecov-action@v4 # NOSONAR
+ uses: codecov/codecov-action@v7 # NOSONAR
with:
token: ${{ secrets.CODECOV_TOKEN }}
- file: ./coverage.txt
+ files: ./coverage.txt
flags: unittests
integration-test:
@@ -139,7 +139,7 @@ jobs:
- name: Cache dubbo-go-pixiu-samples
id: cache_samples
- uses: actions/cache@v4
+ uses: actions/cache@v6
with:
path: ${{ env.SAMPLES_CLONE_DIR }}
key: ${{ runner.os }}-samples-${{ steps.samples_head.outputs.sha }}
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 4a9d1836f..4c526cbd6 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -48,7 +48,7 @@ jobs:
github_token: ${{ secrets.GITHUB_TOKEN }}
goos: ${{ matrix.goos }}
goarch: ${{ matrix.goarch }}
- goversion: "1.25.0"
+ goversion: "1.25.4"
project_path: "./cmd/pixiu"
binary_name: "dubbo-go-pixiu"
- extra_files: LICENSE README.md
\ No newline at end of file
+ extra_files: LICENSE README.md