JSL_OrganizeInternalOA/.github/workflows/code-check.yaml

37 lines
750 B
YAML
Raw Normal View History

2024-04-09 20:39:24 +08:00
name: 代码检查
on:
push:
branches:
- master
pull_request:
branches:
- master
- develop
2024-04-09 20:39:24 +08:00
jobs:
build:
name: 代码检查
runs-on: ubuntu-22.04
2024-04-09 20:39:24 +08:00
permissions:
contents: read
packages: read
statuses: write
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Super-linter
uses: super-linter/super-linter@v6.3.1
env:
2024-04-09 23:56:39 +08:00
GITHUB_TOKEN: ${{ secrets.MyGitHubToken }}
2024-04-10 09:04:58 +08:00
VALIDATE_ALL_CODEBASE: false
IGNORE_GITIGNORED_FILES: true
VALIDATE_JAVA: true
JAVA_FILE_NAME: alibaba-checkstyle.xml
DEFAULT_BRANCH: master
ACTIONS_RUNNER_DEBUG: true