mirror of
				https://github.com/imgproxy/imgproxy.git
				synced 2025-10-30 23:08:02 +02:00 
			
		
		
		
	Better caching in GH actions
This commit is contained in:
		
							
								
								
									
										4
									
								
								.github/workflows/lint.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.github/workflows/lint.yml
									
									
									
									
										vendored
									
									
								
							| @@ -25,7 +25,9 @@ jobs: | ||||
|       - name: Cache mods | ||||
|         uses: actions/cache@v3 | ||||
|         with: | ||||
|           path: ~/go/pkg/mod | ||||
|           path:  | | ||||
|             ~/.cache/go-build | ||||
|             ~/go/pkg/mod | ||||
|           key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} | ||||
|       - name: Download mods | ||||
|         run: go mod download | ||||
|   | ||||
							
								
								
									
										4
									
								
								.github/workflows/test.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.github/workflows/test.yml
									
									
									
									
										vendored
									
									
								
							| @@ -25,7 +25,9 @@ jobs: | ||||
|       - name: Cache mods | ||||
|         uses: actions/cache@v3 | ||||
|         with: | ||||
|           path: ~/go/pkg/mod | ||||
|           path: | | ||||
|             ~/.cache/go-build | ||||
|             ~/go/pkg/mod | ||||
|           key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} | ||||
|       - name: Download mods | ||||
|         run: go mod download | ||||
|   | ||||
		Reference in New Issue
	
	Block a user