Skip to content

Commit 30c91c6

Browse files
committed
Fix deprecated actions and DVC command errors
1 parent 0035fce commit 30c91c6

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

.github/workflows/ci-cd.yml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff 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: |

0 commit comments

Comments
 (0)