Skip to content

Commit

Permalink
BIGTOP-4361: Add Chinese check
Browse files Browse the repository at this point in the history
  • Loading branch information
wuchunfu committed Feb 15, 2025
1 parent cced03f commit 1592240
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 15 deletions.
42 changes: 42 additions & 0 deletions .github/workflows/check_chinese_character.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
#
# 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
#
# https://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: "Check Chinese Character"

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:
check-chinese-character:
name: "Check Chinese Character"
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: true
- name: Set python
uses: actions/setup-python@v5
with:
python-version: '3.13'
- name: Check Chinese Character
run: python .github/check-chinese-character.py
15 changes: 0 additions & 15 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,21 +34,6 @@ jobs:
with:
config: .github/typos.toml

check-chinese-character:
name: "Check Chinese Character"
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: true
- name: Set python
uses: actions/setup-python@v5
with:
python-version: '3.13'
- name: Check Chinese Character
run: python ./.github/check-chinese-character.py

unit-tests-java:
name: "Run unit test(Java)"
runs-on: ubuntu-latest
Expand Down

0 comments on commit 1592240

Please sign in to comment.