You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by wu...@apache.org on 2026/09/03 23:39:27 UTC

(skywalking-ai-sessionizer) branch main updated: Run the license checks with the module's Go toolchain

This is an automated email from the ASF dual-hosted git repository.

wu-sheng pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/skywalking-ai-sessionizer.git


The following commit(s) were added to refs/heads/main by this push:
     new f538b50  Run the license checks with the module's Go toolchain
f538b50 is described below

commit f538b504f35df09ddeee147213bcdd74a9cc4479
Author: Wu Sheng <wu...@foxmail.com>
AuthorDate: Fri Sep 4 07:39:20 2026 +0800

    Run the license checks with the module's Go toolchain
    
    The skywalking-eyes dependency action brings its own Go, 1.25 with the
    toolchain pinned local, and go.mod now requires 1.27, so its go command
    refused and the check failed. Both checks now run through the Makefile
    under the toolchain the module declares, as make check does locally,
    where they pass.
---
 .github/workflows/ci.yaml | 14 ++++++++++----
 1 file changed, 10 insertions(+), 4 deletions(-)

diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml
index 716644d..073076b 100644
--- a/.github/workflows/ci.yaml
+++ b/.github/workflows/ci.yaml
@@ -53,10 +53,16 @@ jobs:
     runs-on: ubuntu-latest
     steps:
       - uses: actions/checkout@v4
-      - name: Check license headers
-        uses: apache/skywalking-eyes/header@v0.9.0
-      - name: Check dependency licenses
-        uses: apache/skywalking-eyes/dependency@v0.9.0
+      - uses: actions/setup-go@v5
+        with:
+          go-version: '1.27'
+          cache: true
+      # The skywalking-eyes actions bring their own Go, pinned below what
+      # go.mod requires, and the dependency check runs go with it. Both
+      # checks run through the Makefile instead, with the toolchain the
+      # module declares, which is what make check does locally.
+      - name: Check license headers and dependency licenses
+        run: make license-check dep-check
 
   build:
     name: Build and Test