Skip to content

estudos-desafios/cicd

 
 

Repository files navigation

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

About

Go CI/CD Playground

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Go 58.9%
  • Dockerfile 41.1%