patch: test
Some checks failed
/ Checkstyle job (pull_request) Failing after 52s

This commit is contained in:
筱锋xiao_lfeng 2024-04-10 01:55:35 +08:00
parent 003439350c
commit 2859a1f70e
Signed by: XiaoLFeng
GPG Key ID: F693AA12AABBFA87
2 changed files with 12 additions and 32 deletions

View File

@ -1,36 +1,16 @@
name: 代码检查
on:
push:
branches:
- master
pull_request:
branches:
- master
- develop
on: pull_request
jobs:
build:
name: 代码检查
runs-on: ubuntu-22.04
permissions:
contents: read
packages: read
statuses: write
checkstyle_job:
runs-on: ubuntu-latest
name: Checkstyle job
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Checkout
uses: actions/checkout@v2
- name: Run check style
uses: nikitasavinov/checkstyle-action@master
with:
# super-linter needs the full git history to get the
# list of files that changed across commits
fetch-depth: 0
- name: Super-linter
uses: super-linter/super-linter@v6.3.1
env:
GITHUB_TOKEN: ${{ secrets.MyGitHubToken }}
JAVA_FILE_NAME: ".github/workflows/checkstyle.xml"
IGNORE_GITIGNORED_FILES: true
VALIDATE_GOOGLE_JAVA_FORMAT: false
github_token: ${{ MyGitHubToken.GITHUB_TOKEN }}
reporter: 'github-pr-check'
tool_name: 'testtool'
checkstyle_config: 'checkstyle.xml'