File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed
Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change 2424 - name : Check Scala formatting
2525 run : sbt scalafmtSbtCheck scalafmtCheckAll
2626
27+ - name : Cache Docker images
28+ uses : actions/cache@v4
29+ id : docker-cache
30+ with :
31+ path : /tmp/docker-images
32+ key : docker-${{ runner.os }}-statsd-v0.10.1
33+
34+ - name : Load cached Docker image
35+ if : steps.docker-cache.outputs.cache-hit == 'true'
36+ run : docker load -i /tmp/docker-images/statsd.tar
37+
38+ - name : Pull and cache Docker image
39+ if : steps.docker-cache.outputs.cache-hit != 'true'
40+ run : |
41+ docker pull dblworks/statsd:v0.10.1
42+ mkdir -p /tmp/docker-images
43+ docker save dblworks/statsd:v0.10.1 -o /tmp/docker-images/statsd.tar
44+
2745 - name : Run tests
2846 run : env TESTCONTAINERS_RYUK_DISABLED=true sbt clean +test
2947
You can’t perform that action at this time.
0 commit comments