Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add taskfile and CI/CD actions #8

Merged
merged 3 commits into from
Apr 16, 2022
Merged

Conversation

giusdp
Copy link
Member

@giusdp giusdp commented Apr 16, 2022

This PR closes #4.

It adds support for the go-task tool with a Taskfile.yml which defines tasks to build the project in normal and debug mode, test it and clean up
and 2 github wokflows.

  1. check.yml: One to build, check licenses and run tests
  2. release.yml: when pushing a v*.. tag it checks licenses and run tests and then builds the cli tool for all platforms and uploads them as a release in github

… task

Taskfile.yml defines tasks to build the project in normal and debug mode, test it and clean up
@giusdp giusdp requested a review from mattrent April 16, 2022 08:23
Two github actions are added, one to build -> check license -> run go test
and one to release when a v*.*.* tag is pushed.
It runs tests and then builds the cli for all platforms and uploads the releases on github.
@giusdp giusdp changed the title add taskfile to manage building add taskfile and CI/CD actions Apr 16, 2022
Add config file to make license-eye work and fix missing licenses
@giusdp giusdp merged commit 56cd2af into funlessdev:main Apr 16, 2022
@giusdp giusdp deleted the ci-actions branch April 16, 2022 09:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Setup CI/CD for testing and release
1 participant