From 867eabcd7e2c0b5a4e8729bcac217b2a52287b0d Mon Sep 17 00:00:00 2001 From: Timothy Stewart Date: Sun, 21 Jan 2024 12:16:21 -0600 Subject: [PATCH] fix(ci): Add a cache prestep --- .github/workflows/cache.yml | 2 +- .github/workflows/ci.yml | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cache.yml b/.github/workflows/cache.yml index 60cc13b..afbaa65 100644 --- a/.github/workflows/cache.yml +++ b/.github/workflows/cache.yml @@ -1,5 +1,5 @@ --- -name: "CI" +name: "Cache" on: workflow_call: jobs: diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4151e84..e17245a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,6 +12,7 @@ jobs: uses: ./.github/workflows/lint.yml cache: uses: ./.github/workflows/cache.yml + needs: [lint] test: uses: ./.github/workflows/test.yml - needs: [lint] + needs: [lint,cache]