mirror of
				https://github.com/juspay/hyperswitch.git
				synced 2025-10-31 10:06:32 +08:00 
			
		
		
		
	ci(CI-pr): determine modified crates more deterministically (#4233)
This commit is contained in:
		
							
								
								
									
										12
									
								
								.github/workflows/CI-pr.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										12
									
								
								.github/workflows/CI-pr.yml
									
									
									
									
										vendored
									
									
								
							| @ -141,7 +141,11 @@ jobs: | |||||||
|           # Obtain a list of workspace members |           # Obtain a list of workspace members | ||||||
|           workspace_members="$( |           workspace_members="$( | ||||||
|             cargo metadata --format-version 1 --no-deps \ |             cargo metadata --format-version 1 --no-deps \ | ||||||
|               | jq --compact-output --monochrome-output --raw-output '.workspace_members | sort | .[] | split(" ")[0]' |               | jq \ | ||||||
|  |                 --compact-output \ | ||||||
|  |                 --monochrome-output \ | ||||||
|  |                 --raw-output \ | ||||||
|  |                 '(.workspace_members | sort) as $package_ids | .packages[] | select(IN(.id; $package_ids[])) | .name' | ||||||
|           )" |           )" | ||||||
|  |  | ||||||
|           PACKAGES_CHECKED=() |           PACKAGES_CHECKED=() | ||||||
| @ -298,7 +302,11 @@ jobs: | |||||||
|           # Obtain a list of workspace members |           # Obtain a list of workspace members | ||||||
|           workspace_members="$( |           workspace_members="$( | ||||||
|             cargo metadata --format-version 1 --no-deps \ |             cargo metadata --format-version 1 --no-deps \ | ||||||
|               | jq --compact-output --monochrome-output --raw-output '.workspace_members | sort | .[] | split(" ")[0]' |               | jq \ | ||||||
|  |                 --compact-output \ | ||||||
|  |                 --monochrome-output \ | ||||||
|  |                 --raw-output \ | ||||||
|  |                 '(.workspace_members | sort) as $package_ids | .packages[] | select(IN(.id; $package_ids[])) | .name' | ||||||
|           )" |           )" | ||||||
|  |  | ||||||
|           PACKAGES_CHECKED=() |           PACKAGES_CHECKED=() | ||||||
|  | |||||||
| @ -1 +0,0 @@ | |||||||
|  |  | ||||||
| @ -2,7 +2,6 @@ | |||||||
| pub mod admin; | pub mod admin; | ||||||
| pub mod analytics; | pub mod analytics; | ||||||
| pub mod api_keys; | pub mod api_keys; | ||||||
| pub mod bank_accounts; |  | ||||||
| pub mod blocklist; | pub mod blocklist; | ||||||
| pub mod cards_info; | pub mod cards_info; | ||||||
| pub mod conditional_configs; | pub mod conditional_configs; | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user
	 Sanchith Hegde
					Sanchith Hegde