Use printf instead of echo

Piotr Osiewicz created

Change summary

.github/workflows/ci.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Detailed changes

.github/workflows/ci.yml 🔗

@@ -24,7 +24,7 @@ jobs:
       - test
     steps:
       - name: Set up default .cargo/config.toml
-        run: echo "[build]\nrustflags = [\"-D\", \"warnings\"]" > $HOME/.cargo/config.toml
+        run: printf "[build]\nrustflags = [\"-D\", \"warnings\"]" > $HOME/.cargo/config.toml
 
       - name: Checkout repo
         uses: actions/checkout@v3