We can't find the internet
Attempting to reconnect
Something went wrong!
Hang in there while we get back on track
Optimizing Elixir CI in GitHub Actions
almirsarajcic
Created
The Official GitHub Actions documentation suggests using the .lock file hash as the cache key, which makes the cache stale and the whole workflow slows down after some time.
There’s a better way:
- name: Save dependencies cache
uses: actions/cache/save@v4
with:
key: mix-${{ github.sha }}
path: |
_build
deps
Read more: https://optimum.ba/blog/optimum-elixir-ci-with-github-actions
Copy link
copied to clipboard