summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorsyeopite <syeopite@syeopite.dev>2025-01-20 16:39:33 -0800
committersyeopite <syeopite@syeopite.dev>2025-01-20 16:39:33 -0800
commit097b4f04333f90028d8052cf4cf4a1f1126cedcc (patch)
tree1720f1acc14a793b4005707ae00ea06018c1c94e /.github
parente1378702af20f8af59a6f1087cd34586026fdacb (diff)
downloadinvidious-097b4f04333f90028d8052cf4cf4a1f1126cedcc.tar.gz
invidious-097b4f04333f90028d8052cf4cf4a1f1126cedcc.tar.bz2
invidious-097b4f04333f90028d8052cf4cf4a1f1126cedcc.zip
CI: Use separate shards cache for lint step
Ameba could be built with an older version of Crystal that follows a different set of formatting rules than the latest version causing the Lint/Formatting rule to fail when in actuality the code is actually compliant with the formatting rules in the latest version of Crystal
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci.yml3
1 files changed, 2 insertions, 1 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index dd472d1a..cebc0602 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -136,6 +136,7 @@ jobs:
submodules: true
- name: Install Crystal
+ id: lint_step_install_crystal
uses: crystal-lang/install-crystal@v1.8.0
with:
crystal: latest
@@ -146,7 +147,7 @@ jobs:
path: |
./lib
./bin
- key: shards-${{ hashFiles('shard.lock') }}
+ key: shards-${{ hashFiles('shard.lock') }}-${{ steps.lint_step_install_crystal.outputs.crystal }}
- name: Install Shards
run: |