TUM-Dev / gocast

TUMs lecture streaming service.
https://tum.live
MIT License
186 stars 42 forks source link

Fix Golangci-lint errors #1361

Closed SebiWrn closed 3 months ago

SebiWrn commented 3 months ago

Motivation and Context

This PR should fix the Issues with the golangci

github-actions[bot] commented 3 months ago

Your Testserver will be ready at https://1361.test.live.mm.rbg.tum.de in a few minutes.

Logins | Kurs1 | Kurs2 | Kurs3 | Kurs4 | | ---------------------------------------- | ------------------------- | ------------------------- | ------------------------- | | public | public | loggedin | enrolled | | prof1 | prof1 | prof2 | prof1
prof2 | | student1
student2
student3 | student1
student2 | student2
student3 | student1
student2 |
SebiWrn commented 3 months ago

golangci-lint now working on github. Issue was that there was no node_modules folder, but the go router referenced it with a //go:embed link. Golangci-lint now first installs all node packages, which creates the node_modules folder and then tests with the linters.