GitHub Actions adds dependency caching

Using the cache action you can now cache your dependencies between workflow runs. This can dramatically reduce the time it takes to run certain steps in your workflow. The rails/rails repository recently started using the cache action in their rubocop workflow reducing the runtime from around seven minutes to roughly one minute.

Learn more about caching dependencies to speed up workflows