Files
tunnel-please/.gitea/workflows/sonarqube.yml
T
Renovate-Clanker bac62a1322
SonarQube Scan / SonarQube Trigger (push) Successful in 3m57s
chore(deps): update sonarsource/sonarqube-scan-action action to v8 (#148)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [SonarSource/sonarqube-scan-action](https://github.com/SonarSource/sonarqube-scan-action) | action | major | `v7.2.1` → `v8.2.1` |

---

### Release Notes

<details>
<summary>SonarSource/sonarqube-scan-action (SonarSource/sonarqube-scan-action)</summary>

### [`v8.2.1`](https://github.com/SonarSource/sonarqube-scan-action/releases/tag/v8.2.1)

[Compare Source](https://github.com/SonarSource/sonarqube-scan-action/compare/v8.2...v8.2.1)

#### What's Changed

##### Bug fix

- [SQSCANGHA-156](https://sonarsource.atlassian.net/browse/SQSCANGHA-156) GPG signature verification fails when temporary directory path is too long

**Full Changelog**: <https://github.com/SonarSource/sonarqube-scan-action/compare/v8.2.0...v8.2.1>

### [`v8.2.0`](https://github.com/SonarSource/sonarqube-scan-action/releases/tag/v8.2.0)

[Compare Source](https://github.com/SonarSource/sonarqube-scan-action/compare/v8.2...v8.2)

#### What's Changed

- SQSCANGHA-149 Add scannerBinariesAuthHeader input by [@&#8203;henryju](https://github.com/henryju) in [#&#8203;246](https://github.com/SonarSource/sonarqube-scan-action/pull/246)
- SQSCANGHA-88 Deprecate the SONARCLOUD\_URL env variable support by [@&#8203;henryju](https://github.com/henryju) in [#&#8203;249](https://github.com/SonarSource/sonarqube-scan-action/pull/249)
- SQSCANGHA-84 Remove outdated wget/curl references by [@&#8203;henryju](https://github.com/henryju) in [#&#8203;248](https://github.com/SonarSource/sonarqube-scan-action/pull/248)
- SQSCANGHA-135 Fix scanner binaries always re-downloaded due to incompatible 4-part version by [@&#8203;henryju](https://github.com/henryju) in [#&#8203;250](https://github.com/SonarSource/sonarqube-scan-action/pull/250)
- SQSCANGHA-127 Rename downloaded file to .zip before extraction on Windows by [@&#8203;henryju](https://github.com/henryju) in [#&#8203;251](https://github.com/SonarSource/sonarqube-scan-action/pull/251)

**Full Changelog**: <https://github.com/SonarSource/sonarqube-scan-action/compare/v8...v8.2.0>

### [`v8.2`](https://github.com/SonarSource/sonarqube-scan-action/compare/v8.1.0...v8.2)

[Compare Source](https://github.com/SonarSource/sonarqube-scan-action/compare/v8.1.0...v8.2)

### [`v8.1.0`](https://github.com/SonarSource/sonarqube-scan-action/releases/tag/v8.1.0)

[Compare Source](https://github.com/SonarSource/sonarqube-scan-action/compare/v8.1.0...v8.1.0)

#### What's Changed

- SQSCANGHA-146 Add proxy support for GPG keyserver access by [@&#8203;henryju](https://github.com/henryju) in [#&#8203;244](https://github.com/SonarSource/sonarqube-scan-action/pull/244)
- SQSCANGHA-148 Update SonarScanner CLI to 8.1.0.6389 by [@&#8203;github-actions](https://github.com/github-actions)\[bot] in [#&#8203;232](https://github.com/SonarSource/sonarqube-scan-action/pull/232)

**Full Changelog**: <https://github.com/SonarSource/sonarqube-scan-action/compare/v8...v8.1.0>

### [`v8.1`](https://github.com/SonarSource/sonarqube-scan-action/compare/v8...v8.1.0)

[Compare Source](https://github.com/SonarSource/sonarqube-scan-action/compare/v8...v8.1.0)

### [`v8.0.0`](https://github.com/SonarSource/sonarqube-scan-action/releases/tag/v8.0.0)

[Compare Source](https://github.com/SonarSource/sonarqube-scan-action/compare/v8...v8)

#### What's Changed

##### Breaking change

- SQSCANGHA-145 Set skipSignatureVerification default value to false by [@&#8203;antoine-vinot-sonarsource](https://github.com/antoine-vinot-sonarsource) in [#&#8203;241](https://github.com/SonarSource/sonarqube-scan-action/pull/241)

**Full Changelog**: <https://github.com/SonarSource/sonarqube-scan-action/compare/v7...v8.0.0>

### [`v8.0`](https://github.com/SonarSource/sonarqube-scan-action/compare/v8...v8)

[Compare Source](https://github.com/SonarSource/sonarqube-scan-action/compare/v8...v8)

### [`v8`](https://github.com/SonarSource/sonarqube-scan-action/compare/v7.2.1...v8)

[Compare Source](https://github.com/SonarSource/sonarqube-scan-action/compare/v7.2.1...v8)

</details>

---

### Configuration

📅 **Schedule**: (UTC)

- Branch creation
  - At any time (no schedule defined)
- Automerge
  - At any time (no schedule defined)

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Mend Renovate](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4xMjAuMiIsInVwZGF0ZWRJblZlciI6IjQzLjI1Ny45IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Reviewed-on: #148
Co-authored-by: Renovate-Clanker <renovate-bot@fossy.my.id>
Co-committed-by: Renovate-Clanker <renovate-bot@fossy.my.id>
2026-07-19 15:24:49 +07:00

60 lines
1.6 KiB
YAML

on:
push:
branches:
- main
- staging
- 'feat/**'
name: SonarQube Scan
jobs:
sonarqube:
name: SonarQube Trigger
runs-on: ubuntu-latest
steps:
- name: Checking out
uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v6
with:
go-version: 'stable'
cache: false
- name: Install dependencies
run: go mod tidy
- name: Run go vet
run: go vet ./... 2>&1 | tee vet-results.txt
- name: Run tests with coverage
run: |
go test ./... -v -p 4 -coverprofile=coverage
- name: Run GolangCI-Lint Analysis
uses: golangci/golangci-lint-action@v9
with:
skip-cache: true
version: latest
args: >
--issues-exit-code=0
--output.text.path=stdout
--output.checkstyle.path=golangci-lint-report.xml
- name: SonarQube Scan
uses: SonarSource/sonarqube-scan-action@v8.2.1
env:
SONAR_HOST_URL: ${{ secrets.SONARQUBE_HOST }}
SONAR_TOKEN: ${{ secrets.SONARQUBE_TOKEN }}
with:
args: >
-Dsonar.projectKey=tunnel-please
-Dsonar.go.coverage.reportPaths=coverage
-Dsonar.test.inclusions=**/*_test.go
-Dsonar.test.exclusions=**/vendor/**
-Dsonar.exclusions=**/*_test.go,**/vendor/**,**/golangci-lint-report.xml
-Dsonar.go.govet.reportPaths=vet-results.txt
-Dsonar.go.golangci-lint.reportPaths=golangci-lint-report.xml
-Dsonar.sources=./
-Dsonar.tests=./