Connection lost
Reconnecting. If you just saved something, check that it saved before trying again.
Server error
Reconnecting to the server. If you just saved something, check that it saved before trying again.
Optimizing Elixir CI in GitHub Actions
0 comments
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