This is an automated email from the ASF dual-hosted git repository.
jermy pushed a commit to branch master
in repository
https://gitbox.apache.org/repos/asf/incubator-hugegraph-toolchain.git
The following commit(s) were added to refs/heads/master by this push:
new b1386512 use node.js version 16 to fixed ci problem (#441)
b1386512 is described below
commit b1386512bc16ba64c1429292252dafa4744fea79
Author: wanganjuan <[email protected]>
AuthorDate: Wed Mar 15 19:24:17 2023 +0800
use node.js version 16 to fixed ci problem (#441)
Co-authored-by: imbajin <[email protected]>
---
.asf.yaml | 6 +++---
.github/workflows/codeql-analysis.yml | 6 +++++-
.github/workflows/license-checker.yml | 9 +++++++++
3 files changed, 17 insertions(+), 4 deletions(-)
diff --git a/.asf.yaml b/.asf.yaml
index bb886b47..abf4a584 100644
--- a/.asf.yaml
+++ b/.asf.yaml
@@ -43,9 +43,9 @@ github:
# strict means "Require branches to be up-to-date before merging".
strict: true
# contexts are the names of checks that must pass
- contexts: []
- # - build
- # - Analyze (java)
+ contexts:
+ - check-license-header
+ - Analyze (java)
required_pull_request_reviews:
dismiss_stale_reviews: true
require_code_owner_reviews: false
diff --git a/.github/workflows/codeql-analysis.yml
b/.github/workflows/codeql-analysis.yml
index 2f4f5ae2..e19fbaf8 100644
--- a/.github/workflows/codeql-analysis.yml
+++ b/.github/workflows/codeql-analysis.yml
@@ -44,7 +44,11 @@ jobs:
with:
distribution: 'zulu'
java-version: '8'
-
+
+ - name: Use Node.js 16
+ uses: actions/setup-node@v3
+ with:
+ node-version: '16'
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
diff --git a/.github/workflows/license-checker.yml
b/.github/workflows/license-checker.yml
index 334519ea..540de04e 100644
--- a/.github/workflows/license-checker.yml
+++ b/.github/workflows/license-checker.yml
@@ -45,6 +45,11 @@ jobs:
java-version: '11'
distribution: 'adopt'
+ - name: Use Node.js 16
+ uses: actions/setup-node@v3
+ with:
+ node-version: '16'
+
- name: License check(RAT)
run: |
mvn apache-rat:check -ntp
@@ -63,6 +68,10 @@ jobs:
with:
java-version: '11'
distribution: 'adopt'
+ - name: Use Node.js 16
+ uses: actions/setup-node@v3
+ with:
+ node-version: '16'
- name: mvn install
run: |
mvn install -DskipTests=true -ntp