From 54cc5e4d3c3fde1e227223382083acb7a51ae741 Mon Sep 17 00:00:00 2001 From: Kyrylo Shpytsya Date: Fri, 7 Aug 2020 15:11:56 +0300 Subject: [PATCH] Add CI docker layer caching and CI step names --- .github/workflows/ci.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c6d5766..bfd87a3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,7 +11,8 @@ jobs: steps: - uses: actions/checkout@v1 - uses: actions/setup-python@v1 - - uses: pre-commit/action@v2.0.0 + - name: Run pre-commit checks + uses: pre-commit/action@v2.0.0 - name: Build and push Docker images uses: docker/build-push-action@v1 with: @@ -28,7 +29,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v1 - - run: > + - name: Pull Docker layer cache + uses: satackey/action-docker-layer-caching@v0.0.5 + - name: Run tests + run: > sudo K8S_EMUL_IMAGE=kyryloshpytsyaprismai/k8s-emul:sha-${GITHUB_SHA::7} ./run-tests