UpstreamDataInc / goosebit

A simplistic, opinionated remote update server implementing hawkBit™'s DDI API.
https://goosebit.rtfd.io
Apache License 2.0
18 stars 3 forks source link

Introduce GitHub Action to run `pre-commit` for pull requests #80

Closed easybe closed 2 months ago

easybe commented 2 months ago

https://github.com/pre-commit/action/blob/main/README.md

I suggest introducing a workflow file named qa.yml.

b-rowan commented 2 months ago

Apparently that is not really supported anymore, but they recommend pre-commit.ci, so I have installed that. I tested it by deliberately pushing unformatted code to #82, and it appears to have fixed it, as well as failed checks for some other files. See 0b4ae305e600545d42d843253b943fd2fb2c83c9.