From 76016391eead6485f85fdc448a960ee14ca58a34 Mon Sep 17 00:00:00 2001 From: Alexey Masterov Date: Tue, 17 Sep 2024 16:45:06 +0200 Subject: [PATCH] Fix the actionlint warnings --- .github/workflows/cloud-regress.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/cloud-regress.yml b/.github/workflows/cloud-regress.yml index c1f544938c10..33b5cc16c540 100644 --- a/.github/workflows/cloud-regress.yml +++ b/.github/workflows/cloud-regress.yml @@ -43,8 +43,8 @@ jobs: - name: Patch the test run: | - cd vendor/postgres-v${{ DEFAULT_PG_VERSION }} - patch -p1 < ../../patches/cloud_regress_pg${{ DEFAULT_PG_VERSION }}.patch + cd "vendor/postgres-v${DEFAULT_PG_VERSION}" + patch -p1 < "../../patches/cloud_regress_pg${DEFAULT_PG_VERSION}.patch" - name: Generate a random password id: pwgen @@ -54,12 +54,12 @@ jobs: - name: Change tests according to the generated password run: | - cd vendor/postgres-v"${{ DEFAULT_PG_VERSION }}"/src/test/regress + cd vendor/postgres-v"${DEFAULT_PG_VERSION}"/src/test/regress for fname in sql/*.sql expected/*.out; do sed -i.bak s/NEON_PASSWORD_PLACEHOLDER/"'::add-mask:${{ steps.pwgen.outputs.DBPASS }}'"/ "${fname}" done for ph in $(grep NEON_MD5_PLACEHOLDER expected/password.out | awk '{print $3;}' | sort | uniq); do - USER=$(echo ${ph} | cut -c 22-) + USER=$(echo "${ph}" | cut -c 22-) MD5=md5$(echo -n "::add-mask:${{ steps.pwgen.outputs.DBPASS }}${USER}" | md5sum | awk '{print $1;}') sed -i.bak "s/${ph}/::add-mask:${MD5}/" expected/password.out done