Skip to content

Latest commit

 

History

History
52 lines (40 loc) · 1.77 KB

File metadata and controls

52 lines (40 loc) · 1.77 KB

Go CI/CD Playground

Usage

For now there are two behaviors:

  1. If you push a new tag (following standads) it will automatically build and release. (example: here)
  2. If you send a pull request it will lint. (example: here)

Tools

You can use act to run GitHub Actions locally.

Plans

Probably more to come.

Tips

You should use pre-commit to run linting and testing on your project, this way you can catch problems early.

I'm not going to do that here (we want action 👀), but you should.

---
repos:
  - repo: https://github.com/golangci/golangci-lint
    rev: v1.48.0
    hooks:
      - id: golangci-lint
default_install_hook_types: [pre-commit]
minimum_pre_commit_version: 2.20.0