Skip to content

Commit 0668f12

Browse files
fix(ci-cd): upload to codecov
1 parent 72b1cab commit 0668f12

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/ci-cd.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ jobs:
167167
if module_prefix=$(go list -m 2>/dev/null); then
168168
echo "Found module prefix: $module_prefix"
169169
# Replace the full module path with relative path from repo root
170-
sed -i "s|${module_prefix}/||g" "../$coverage_file"
170+
sed -i "s|${module_prefix}/||g" "$coverage_file"
171171
echo "Fixed paths: replaced '${module_prefix}/' with relative paths"
172172
else
173173
echo "Could not determine module name with 'go list -m', trying go.mod file"
@@ -176,7 +176,7 @@ jobs:
176176
echo "Found module prefix from go.mod: $module_prefix"
177177
if [ -n "$module_prefix" ]; then
178178
# Replace the full module path with relative path from repo root
179-
sed -i "s|${module_prefix}/||g" "../$coverage_file"
179+
sed -i "s|${module_prefix}/||g" "$coverage_file"
180180
echo "Fixed paths: replaced '${module_prefix}/' with relative paths"
181181
fi
182182
else

0 commit comments

Comments
 (0)