You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bifromq.apache.org by li...@apache.org on 2026/07/29 02:21:26 UTC
(bifromq) branch main updated: Refactor license check workflow: remove prepare job and update dependencies (#270)
This is an automated email from the ASF dual-hosted git repository.
liaodn pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/bifromq.git
The following commit(s) were added to refs/heads/main by this push:
new 586d8f1da Refactor license check workflow: remove prepare job and update dependencies (#270)
586d8f1da is described below
commit 586d8f1da6d52a01646da3e9c71b676fbff7c954
Author: Yonny(Yu) Hao <po...@gmail.com>
AuthorDate: Wed Jul 29 10:21:22 2026 +0800
Refactor license check workflow: remove prepare job and update dependencies (#270)
---
.github/workflows/build-cov.yaml | 23 +++++------------------
.github/workflows/build-dev.yaml | 21 ++++-----------------
2 files changed, 9 insertions(+), 35 deletions(-)
diff --git a/.github/workflows/build-cov.yaml b/.github/workflows/build-cov.yaml
index 1347bca5e..cadf8196d 100644
--- a/.github/workflows/build-cov.yaml
+++ b/.github/workflows/build-cov.yaml
@@ -10,23 +10,8 @@ on:
- 'main'
jobs:
- prepare:
- name: "Prepare"
- runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@v5
- - name: Set up JDK 17
- uses: actions/setup-java@v5
- with:
- java-version: '17'
- distribution: 'temurin'
- cache: maven
- - name: Install without tests
- run: mvn -q -DskipTests install
-
license:
name: "License Check"
- needs: prepare
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
@@ -37,9 +22,11 @@ jobs:
distribution: 'temurin'
cache: maven
- name: Check License Header
- uses: apache/skywalking-eyes/header@main
+ uses: apache/skywalking-eyes/header@6e368ec14f31521edc7118374773e78d2d646aeb
+ - name: Install without tests
+ run: ./mvnw -q -DskipTests install
- name: Check Dependencies' License
- uses: apache/skywalking-eyes/dependency@main
+ uses: apache/skywalking-eyes/dependency@6e368ec14f31521edc7118374773e78d2d646aeb
env:
MAVEN_OPTS: -Xmx1g
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -67,4 +54,4 @@ jobs:
path: |
**/target/site/jacoco/**
**/target/site/jacoco-aggregate/**
- if-no-files-found: warn
\ No newline at end of file
+ if-no-files-found: warn
diff --git a/.github/workflows/build-dev.yaml b/.github/workflows/build-dev.yaml
index 95f1caf33..dfe5aadbd 100644
--- a/.github/workflows/build-dev.yaml
+++ b/.github/workflows/build-dev.yaml
@@ -14,23 +14,8 @@ on:
- 'bugfix-**'
- 'fix-**'
jobs:
- prepare:
- name: "Prepare"
- runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@v5
- - name: Set up JDK 17
- uses: actions/setup-java@v5
- with:
- java-version: '17'
- distribution: 'temurin'
- cache: maven
- - name: Install without tests
- run: mvn -q -DskipTests install
-
license:
name: "License Check"
- needs: prepare
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
@@ -41,9 +26,11 @@ jobs:
distribution: 'temurin'
cache: maven
- name: Check License Header
- uses: apache/skywalking-eyes/header@main
+ uses: apache/skywalking-eyes/header@6e368ec14f31521edc7118374773e78d2d646aeb
+ - name: Install without tests
+ run: ./mvnw -q -DskipTests install
- name: Check Dependencies' License
- uses: apache/skywalking-eyes/dependency@main
+ uses: apache/skywalking-eyes/dependency@6e368ec14f31521edc7118374773e78d2d646aeb
env:
MAVEN_OPTS: -Xmx1g
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}