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: pull_request
on:
push:
branches:
- master
pull_request:
branches:
- master
- develop
jobs: jobs:
build: checkstyle_job:
name: 代码检查 runs-on: ubuntu-latest
runs-on: ubuntu-22.04 name: Checkstyle job
permissions:
contents: read
packages: read
statuses: write
steps: steps:
- name: Checkout code - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@v2
- name: Run check style
uses: nikitasavinov/checkstyle-action@master
with: with:
# super-linter needs the full git history to get the github_token: ${{ MyGitHubToken.GITHUB_TOKEN }}
# list of files that changed across commits reporter: 'github-pr-check'
fetch-depth: 0 tool_name: 'testtool'
checkstyle_config: 'checkstyle.xml'
- 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