我按照这篇文章(https://mp.weixin.qq.com/s/1h9wki9F_AV_-V8IQ3kOgw)尝试通过 Gitea Actions 集成 Sonarqube,安装好了SonarQube,Docker,在gitea里启用了Actions,然后写了一个workflow,保存为.gitea/workflows/build.yaml,内容如下:
on:
push:
branches: [master, dev]
pull_request:
types: [opened, synchronize, reopened]
name: SonarQube Scan
jobs:
sonarqube:
name: SonarQube Trigger
runs-on: ubuntu-latest
steps:
- name: Checking out
uses: https://github.com/actions/checkout@v4
with:
# Disabling shallow clone is recommended for improving relevancy of reporting
fetch-depth: 0
- name: SonarQube Scan
uses: https://github.com/kitabisa/sonarqube-action@v1.2.1
with:
host: "http://100.100.1.10:9000"
login: "squ_fa85585594414dc98b46ee3dd73db30e9b2e83e6"
这个Action执行的时候,在gitea的Actions页面上看到报错了
因为gitea没有输出日志,act_runner也没有更详细的信息。怎么知道是缺少哪个plugin呢?应该怎么解决?