Add a static source code analyser to our GitHub Actions

Aperta
#1,963 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
cpp, github-actions
Ambito
ci-cd, tooling

Direzione di ricerca

No source file or test is named. Review the repository's existing GitHub Actions configuration, especially the codespell integration mentioned in the issue, and compare it with SonarCloud's open-source setup requirements. Done means the chosen static analysis runs in GitHub Actions and provides pull-request annotations.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

enhancement Language-C++ Language-Java Language-JS

As discussed during the PlugFest, OLA might benefit from running some kind of static code analysis.
While I'm perfectly open to alternatives, I do like how SonarQube / SonarCloud reports issues and there is GitHub Actions integration, including PR-annotation (as we currently do with codespell). Also, SonarCloud is free for Open Source projects:

SonarLint is completely free. SonarQube Community Edition is free. All other SonarQube editions are commercial and require a paid license. SonarCloud is entirely free for all open source projects. You only pay if you want to analyze private repositories.

(from https://www.sonarsource.com/open-source-editions/, FAQ entry "Are the products always free? ")

Thus, I would propose to enable SonarCloud integration for OLA.

Lingua principale
C++
Stelle
771
Fork
234
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di OpenLightingProject/ola

Tutte le issue di OpenLightingProject/ola

Issue simili

Altre issue su C++

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.