File tree Expand file tree Collapse file tree 1 file changed +3
-8
lines changed
Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -134,17 +134,12 @@ jobs:
134134 - name : Validate DVC pipeline
135135 run : |
136136 # Check DVC pipeline syntax
137- dvc dag --ascii || echo "DVC pipeline validation skipped"
137+ dvc dag || echo "DVC pipeline validation skipped"
138138
139139 # Validate DVC stages
140140 if [ -f "dvc.yaml" ]; then
141141 echo "✓ dvc.yaml found"
142- python -c "
143- import yaml
144- with open('dvc.yaml', 'r') as f:
145- dvc_config = yaml.safe_load(f)
146- print(f'✓ DVC pipeline has {len(dvc_config.get(\"stages\", {}))} stages')
147- "
142+ python -c "import yaml; dvc_config = yaml.safe_load(open('dvc.yaml')); print(f'✓ DVC pipeline has {len(dvc_config.get(\"stages\", {}))} stages')"
148143 else
149144 echo "⚠ dvc.yaml not found"
150145 fi
@@ -243,7 +238,7 @@ jobs:
243238 head : HEAD
244239
245240 - name : Upload security reports
246- uses : actions/upload-artifact@v3
241+ uses : actions/upload-artifact@v4
247242 with :
248243 name : security-reports
249244 path : |
You can’t perform that action at this time.
0 commit comments