awslabs / mls-rs

An implementation of Messaging Layer Security (RFC 9420)
Apache License 2.0
105 stars 19 forks source link

Add more caching to the CI #143

Closed mgeisler closed 7 months ago

mgeisler commented 7 months ago

Description of changes:

This is a followup to #137 to make the caching more consistent across the different CI jobs.

I’ve noticed from other projects that it’s not very useful to cache the build artifacts for each branch: that just ends up polluting the 10 GB cache GitHub provides us with. So saving the cache is now disabled on non-main branches (the cache will still be read on all PRs from all branches).

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 and MIT license.