dominikbraun / timetrace

A simple CLI for tracking your working time.
Apache License 2.0
665 stars 75 forks source link

GitHub Actions #201

Open mattkasun opened 2 years ago

mattkasun commented 2 years ago

Created 3 workflows to address #196

  1. Create and upload release binaries
  2. Create and upload Docker images requires DOCKERHUB_USERNAME and DOCKERHUB_TOKEN repository secrets
  3. Format and Run Tests

1 & 2 run after a published release or can be run manually (workflow_dispatch) 3 will run on every push

Also updated Dockerfile to create a pure static executable negating the need to simlink libraries

mattkasun commented 2 years ago

There is no workflow to run release.py Probably should be run on release: {created]

dominikbraun commented 2 years ago

GoReleaser automatically creates the changelog for the GitHub release based on the commit messages, doesn't it? That way, we wouldn't need release.py anymore.

mattkasun commented 2 years ago

I think you are correct about GoReleaser but I have added a new workflow to run release.py on a release creation as well. If GoReleaser works as we think it does, after the next release can delete the release_check workflow.