mirror of
				https://github.com/iv-org/invidious.git
				synced 2025-10-31 12:42:09 +00:00 
			
		
		
		
	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
This commit is contained in:
		
							
								
								
									
										3
									
								
								.github/workflows/ci.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										3
									
								
								.github/workflows/ci.yml
									
									
									
									
										vendored
									
									
								
							| @@ -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: | | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 syeopite
					syeopite