Skip to content

Optimize and speedup build runs - #3

Merged
HaGGi13 merged 3 commits into
developfrom
feature/speedup-build
Feb 21, 2026
Merged

Optimize and speedup build runs#3
HaGGi13 merged 3 commits into
developfrom
feature/speedup-build

Conversation

@HaGGi13

@HaGGi13 HaGGi13 commented Feb 21, 2026

Copy link
Copy Markdown
Owner

Optimize and speedup build runs

Switched to the Ubuntu runner, because the Windows runner needs much
more time in setting it up and there're no dependencies which would a
Windows require for building.

In addition the SonarQube setup was simplify to avoid relative paths for
running the sonar scanner. This should result a little speed up too.
Furthermore, the build configuration was optimized by using the artifact
upload action v4 instead of v6 which requires Node.js and not letting
any command run in PowerShell, because the bash is by default available
on an Ubuntu runner.

As well a SonarQube marked security issue
Avoid expanding secrets in run block (githubactions:S7636) was fixed
by providing the SonarQube token as pipeline environment variable
instead of expanding it during runtime.

Switched to the Ubuntu runner, because the Windows runner needs much
more time in setting it up and there're no dependencies which would a
Windows require for building.
In addition the SonarQube setup was simplify to avoid relative paths for
running the sonar scanner. This should result a little speed up too.
Furthermore, the build configuration was optimized by using the artifact
upload action v4 instead of v6 which requires Node.js and not letting
any command run in PowerShell, because the bash is by default available
on an Ubunto runner.
Fixed by SonarQube marked security issue githubactions:S7636 by
providing the SonarQube token as pipeline environment variable instead
of expanding it during runtime.

https://next.sonarqube.com/sonarqube/coding_rules?open=githubactions%3AS7636&rule_key=githubactions%3AS7636
@HaGGi13
HaGGi13 merged commit fa2cbd7 into develop Feb 21, 2026
5 checks passed
@HaGGi13
HaGGi13 deleted the feature/speedup-build branch February 21, 2026 22:21
@HaGGi13 HaGGi13 self-assigned this Feb 21, 2026
HaGGi13 added a commit that referenced this pull request Feb 22, 2026
Optimize and speedup build runs

Switched to the Ubuntu runner, because the Windows runner needs much
more time in setting it up and there're no dependencies which would a
Windows require for building.

In addition the SonarQube setup was simplify to avoid relative paths for
running the sonar scanner. This should result a little speed up too.
Furthermore, the build configuration was optimized by using the artifact
upload action v4 instead of v6 which requires Node.js and not letting
any command run in PowerShell, because the bash is by default available
on an Ubuntu runner.

As well a SonarQube marked security issue
[Avoid expanding secrets in run block
(githubactions:S7636)](https://next.sonarqube.com/sonarqube/coding_rules?open=githubactions%3AS7636&rule_key=githubactions%3AS7636)
was fixed
by providing the SonarQube token as pipeline environment variable
instead of expanding it during runtime.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant