Skip to content

Ci/fix ci lint#3

Merged
ccamel merged 4 commits intomainfrom
ci/fix-ci-lint
Jul 25, 2022
Merged

Ci/fix ci lint#3
ccamel merged 4 commits intomainfrom
ci/fix-ci-lint

Conversation

@ccamel
Copy link
Copy Markdown
Member

@ccamel ccamel commented Jul 22, 2022

Fix the CI break (+ some minor improvements).

@ccamel ccamel self-assigned this Jul 22, 2022
@bot-anik
Copy link
Copy Markdown
Member

bot-anik commented Jul 22, 2022

size-limit report 📦

Path Size
target/wasm32-unknown-unknown/release/cw_template.wasm 182.06 KB (0%)

@ccamel ccamel marked this pull request as ready for review July 22, 2022 14:39
@ad2ien
Copy link
Copy Markdown
Contributor

ad2ien commented Jul 24, 2022

👋 As I understand the lint report the contract size but is there an actual limit set somewhere?

Copy link
Copy Markdown
Contributor

@amimart amimart left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@ccamel
Copy link
Copy Markdown
Member Author

ccamel commented Jul 25, 2022

👋 As I understand the lint report the contract size but is there an actual limit set somewhere?

Yes. See: #2 for more informations.

@ccamel ccamel merged commit 4f370e4 into main Jul 25, 2022
@ccamel ccamel deleted the ci/fix-ci-lint branch July 25, 2022 07:28
uses: davidB/rust-cargo-make@v1

- name: Test rust code
run: cargo make check_contracts
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

check_contract task is no longer called from the CI, is the desired behavior ?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤔 Nope. But it should be part of the linter workflow I guess...

Comment thread .github/package.json
"devDependencies": {
"@size-limit/preset-app": "^7.0.8"
},
"size-limit": [
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To do in another PR, but this configuration (size-limit) can be removed now from the package.json and use the .size-limit configuration file (available in main branch for the CI now).

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure. Could be please push a new PR with the needed changes? Thanks. 😌

@ccamel
Copy link
Copy Markdown
Member Author

ccamel commented Jul 25, 2022

@bdeneux There's still an issue on the branch main. When pushing the new PR for the improvements, can you take into account this fix too. Thanks : 🙏

image

@bot-anik
Copy link
Copy Markdown
Member

🎉 This PR is included in version 1.0.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@bot-anik
Copy link
Copy Markdown
Member

🎉 This PR is included in version 1.0.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants