diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 935381aab5..20a21e5df3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,7 +18,7 @@ env: CARGO_TERM_COLOR: always RUST_VERSION: 1.81.0 RUST_VERSION_FMT: nightly-2024-02-07 - RUST_VERSION_COV: nightly-2024-06-05 + RUST_VERSION_COV: nightly-2025-01-01 GIT_BRANCH: ${{ github.head_ref || github.ref_name }} jobs: diff --git a/.github/workflows/create_version.yml b/.github/workflows/create_version.yml index 27793bb57f..18191e0cb4 100644 --- a/.github/workflows/create_version.yml +++ b/.github/workflows/create_version.yml @@ -47,14 +47,19 @@ jobs: for file in "${files[@]}"; do filename=$(basename "$file" .md) content=$(cat "$file") + # Ident by two spaces every new line + content=$(echo -e "$content" | awk 'NR==1{print $0; next} {print " " $0}') VERSION_TEXT+="- [${filename}](https://github.com/FuelLabs/fuel-vm/pull/${filename}): ${content}\n" done fi fi done + #Escape backquotes + VERSION_TEXT=$(echo "$VERSION_TEXT" | sed 's/`/\\`/g') + echo -e "$VERSION_TEXT" { echo 'VERSION_TEXT<> "$GITHUB_OUTPUT" - name: Update PR description with the version and changes