RustCrypto / actions

GitHub Actions configs: composite actions and shared workflow configuration
5 stars 4 forks source link

Add minimal-versions action and fix cross-install formatting #3

Closed newpavlov closed 2 years ago

newpavlov commented 2 years ago

Well... Annoyingly, it looks like default working directories do not affect a composite action. We could pass it using inputs:, but I wonder if there is a better way.

Another annoying part is that each run command requires explicit shell property.

cc @aewag

aewag commented 2 years ago

Well... Annoyingly, it looks like default working directories do not affect a composite action. We could pass it using inputs:, but I wonder if there is a better way.

Yep, it is unfortunate. Until now, the defaults can only be passed to run steps and not to uses steps. So this requires to use inputs.

Another annoying part is that each run command requires explicit shell property.

Using a reusable workflow as in set-msrv allows to specify this only once.

I'll give it a try and create a PR.

aewag commented 2 years ago

I added a reusable workflow variant of minimal-versions in #5.