ApplyAttendanceOutsideDto
All checks were successful
CodeChecker 变更检测 / code-check (push) Successful in 25s
All checks were successful
CodeChecker 变更检测 / code-check (push) Successful in 25s
This commit is contained in:
@@ -1,53 +1 @@
|
||||
name: CodeChecker 变更检测
|
||||
|
||||
run-name: ${{ gitea.actor }}的CodeChecker变更检测
|
||||
|
||||
|
||||
|
||||
on:
|
||||
|
||||
push:
|
||||
|
||||
branches:
|
||||
|
||||
- class-check
|
||||
|
||||
workflow_dispatch:
|
||||
|
||||
|
||||
|
||||
jobs:
|
||||
|
||||
code-check:
|
||||
|
||||
if: ${{ gitea.ref != 'refs/heads/pre' && gitea.ref != 'refs/heads/dev' && gitea.ref != 'refs/heads/master-2.0' }}
|
||||
|
||||
runs-on: jdk11
|
||||
|
||||
|
||||
|
||||
steps:
|
||||
|
||||
- name: 检出代码
|
||||
|
||||
run: |
|
||||
|
||||
git config --global http.sslVerify false
|
||||
|
||||
git clone "https://${{ gitea.token }}@git.niujiekeji.com/${{ gitea.repository }}.git" .
|
||||
|
||||
git checkout ${{ gitea.sha }}
|
||||
|
||||
|
||||
|
||||
- name: 检查配置文件与预编译 jar
|
||||
|
||||
run: |
|
||||
|
||||
if [ ! -f .gitea/config.yaml ]; then
|
||||
|
||||
echo "错误: 缺少 .gitea/config.yaml"
|
||||
|
||||
exit 1
|
||||
|
||||
fi
|
||||
name: CodeChecker 变更检测
|
||||
Reference in New Issue
Block a user