From 66f207ddac216dacf97234d7f00f845268862684 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ale=C5=A1=20Bizjak?= Date: Sat, 19 Aug 2023 21:57:56 +0200 Subject: [PATCH] Make sure to test templates with released libraries. --- .github/workflows/linter.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml index 8ab457a6..9bb4a199 100644 --- a/.github/workflows/linter.yml +++ b/.github/workflows/linter.yml @@ -106,10 +106,10 @@ jobs: # Run all tests, including doc tests. - name: Run cargo test run: | - TEMPLATE_DIR=`pwd` + # TEMPLATE_DIR=`pwd` mv $PROJECT_NAME ${{ runner.temp }}/ - sed -i "s/{version = \"7.0\", default-features = false}/{path = \"${TEMPLATE_DIR//\//\\\/}\/concordium-std\", default-features = false}/g" ${{ runner.temp }}/$PROJECT_NAME/Cargo.toml - sed -i "s/{version = \"4.0\", default-features = false}/{path = \"${TEMPLATE_DIR//\//\\\/}\/concordium-cis2\", default-features = false}/g" ${{ runner.temp }}/$PROJECT_NAME/Cargo.toml + # sed -i "s/{version = \"7.0\", default-features = false}/{path = \"${TEMPLATE_DIR//\//\\\/}\/concordium-std\", default-features = false}/g" ${{ runner.temp }}/$PROJECT_NAME/Cargo.toml + # sed -i "s/{version = \"4.0\", default-features = false}/{path = \"${TEMPLATE_DIR//\//\\\/}\/concordium-cis2\", default-features = false}/g" ${{ runner.temp }}/$PROJECT_NAME/Cargo.toml cd ${{ runner.temp }}/$PROJECT_NAME cargo test