git-cliff-action icon indicating copy to clipboard operation
git-cliff-action copied to clipboard

Make the action faster

Open orhun opened this issue 1 year ago • 4 comments
trafficstars

Right now we are building the Docker image for the invocation of git-cliff-action, see Docker container action for more information.

It would be nice to use pre-built git-cliff binaries instead which would be a huge benefit when it comes to the overall speed of the action.

orhun avatar Mar 17 '24 13:03 orhun

I could add a manifest for git-cliff to https://github.com/taiki-e/install-action but I'm not sure if we can use it as a dependency here

tranzystorekk avatar Mar 17 '24 13:03 tranzystorekk

It's a pretty good idea! Let's do that and offer that as an alternative to using this action.

e.g.

- name: Install git-cliff
  uses: taiki-e/install-action@git-cliff

- name: Generate changelog
  run: git-cliff $args

I don't think using that as a dependency here is the way to go.

orhun avatar Mar 17 '24 18:03 orhun

Can be installed from PyPI:

- name: Install git-cliff
  run: pipx install git-cliff

- name: Generate changelog
  run: git-cliff $args

ref: https://github.com/orhun/git-cliff/pull/158

deadnews avatar Mar 27 '24 16:03 deadnews

Hey @DeadNews - that's a good trick. Are you also interested in contributing that to the documentation?

orhun avatar Mar 27 '24 19:03 orhun