This is an automated email from the ASF dual-hosted git repository.
dockerzhang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-inlong.git
The following commit(s) were added to refs/heads/master by this push:
new 13a6156 [INLONG-1436] ci: delete checkstyle workflow (#1437)
13a6156 is described below
commit 13a615694a043c412bc448d32eb1a3e693a39a2a
Author: 深刻 <[email protected]>
AuthorDate: Sun Aug 15 18:24:34 2021 +0800
[INLONG-1436] ci: delete checkstyle workflow (#1437)
issue: #1436
---
.github/workflows/ci_checkstyle.yml | 49 -------------------------------------
1 file changed, 49 deletions(-)
diff --git a/.github/workflows/ci_checkstyle.yml
b/.github/workflows/ci_checkstyle.yml
deleted file mode 100644
index 422f25c..0000000
--- a/.github/workflows/ci_checkstyle.yml
+++ /dev/null
@@ -1,49 +0,0 @@
-#
-# 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: InLong Checkstyle
-
-on:
- push:
- branches: [ master, 'INLONG-*' ]
- pull_request:
- branches: [ master, 'INLONG-*' ]
-
-jobs:
- checkstyle:
- name: Checkstyle
- runs-on: ubuntu-latest
- steps:
- - name: Checkout
- uses: actions/checkout@v2
-
- - name: Setup reviewdog
- env:
- REVIEWDOG_VERSION: latest
- run: curl -sfL
https://raw.githubusercontent.com/reviewdog/reviewdog/master/install.sh | sh -s
-- -b /opt ${REVIEWDOG_VERSION}
-
- - name: Download checkstyle
- env:
- CHECKSTYLE_VERSION: 8.37
- run: curl -o /opt/checkstyle.jar -L
https://github.com/checkstyle/checkstyle/releases/download/checkstyle-${CHECKSTYLE_VERSION}/checkstyle-${CHECKSTYLE_VERSION}-all.jar
-
- - name: Check code style
- env:
- WORKDIR: ./
- CHECKSTYLE_CONFIG: codestyle/checkstyle.xml
- REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- run: java -jar /opt/checkstyle.jar "${WORKDIR}" -c
"${CHECKSTYLE_CONFIG}" -f xml | /opt/reviewdog -name="Checkstyle" -f=checkstyle
-reporter=github-check -filter-mode=added