Skip to content

Commit

Permalink
Make sure to test templates with released libraries.
Browse files Browse the repository at this point in the history
  • Loading branch information
abizjak committed Aug 19, 2023
1 parent ccaf814 commit 66f207d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 66f207d

Please sign in to comment.