I wrote a GitHub Actions to lint Nim code.
nimlint-action is inspired by reviewdog/action-eslint.
https://github.com/jiro4989/nimlint-action
This action notices compile message to Pull Request.
Examples.
import strutils
echo "hello world"
Nim prints Warning: if you compile this code.
/tmp/main.nim(1, 8) Warning: imported and not used: 'strutils' [UnusedImport]
This action notices these message (Hint: , Warning: , Error: ) to Pull Request.