alphaHeavy / consul-haskell

A haskell client library for consul (consul.io)
BSD 3-Clause "New" or "Revised" License
31 stars 16 forks source link

.github/ci: bump consul version 1.9.0 to 1.9.4 add 1.10.0-alpha, improve CI cache, fix CI installing consul #49

Closed ketzacoatl closed 3 years ago

ketzacoatl commented 3 years ago

This includes 3 main changes:

ketzacoatl commented 3 years ago

Installing to /opt/consul seems to work ok.

ketzacoatl commented 3 years ago

Phew, that looks a lot better. It seems as though github actions do something weird with ~/.local, and while it might be documented, I have not found details about this. However, installing the consul executables to /opt/consul/ has worked well.

In addition, this PR also updates the cache configuration so it works better and the net result is reducing build times from ~12 minutes per job to ~1. Total CI execution dropped from ~15 minutes to ~3 minutes.

ketzacoatl commented 3 years ago

This resolves #50.