Skip to content

Instantly share code, notes, and snippets.

View SoulSu's full-sized avatar
🎯
Focusing

soul SoulSu

🎯
Focusing
View GitHub Profile
@SoulSu
SoulSu / Readme.md
Created August 23, 2019 09:50 — forked from ledongthuc/Readme.md
[Github Actions][Go] Check pull requests before merging

Create template actions that's used to verify Go language pull requests before merging. It's easy to custom the flow, tools with your case.

Put pr_checker.yml or pr_checker_simple.yml to .github/workflows/ and see how it works with your pull requests. Make sure you are allows to use actions of Github.

  • pr_checker.yml is using by mine with full checking tools. It will make sure every Go langauge pull requests will be buildable, testable, passed security checking and error-able code checking.
  • pr_checker_simple.yml is more simpler with buildable, testable.

References: