From a8ccce2eeda11c98fb64b740ffd5820cb93aaf49 Mon Sep 17 00:00:00 2001 From: XiaoLFeng Date: Tue, 9 Apr 2024 20:39:24 +0800 Subject: [PATCH] Upload --- .github/workflow/code-check.yaml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .github/workflow/code-check.yaml diff --git a/.github/workflow/code-check.yaml b/.github/workflow/code-check.yaml new file mode 100644 index 0000000..c3d4309 --- /dev/null +++ b/.github/workflow/code-check.yaml @@ -0,0 +1,32 @@ +name: 代码检查 + +on: + push: + branches: + - master + pull_request: + - develop + +jobs: + build: + name: 代码检查 + runs-on: linux_amd64 + + permissions: + contents: read + packages: read + statuses: write + + steps: + - name: Checkout code + uses: actions/checkout@v4 + 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: + # To report GitHub Actions status checks + GITHUB_TOKEN: ${{ secrets.MyGitHubToken }} \ No newline at end of file