Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update contracts workflow #26

Merged
merged 9 commits into from
Mar 21, 2024
Merged

Update contracts workflow #26

merged 9 commits into from
Mar 21, 2024

Conversation

popenta
Copy link
Contributor

@popenta popenta commented Mar 20, 2024

No description provided.

@popenta popenta self-assigned this Mar 20, 2024
required: false
type: string
path-to-sc-meta:
description: 'multiversx-sc-meta from local'
Copy link
Contributor

Choose a reason for hiding this comment

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

Very good - since it will be used in mx-sdk-rs.

Comment on lines -77 to -78
python3 -m multiversx_sdk_cli.cli config set "dependencies.vmtools.urlTemplate.linux" ${{ inputs.vmtools-repository }}
python3 -m multiversx_sdk_cli.cli config set "dependencies.vmtools.tag" ${{ inputs.vmtools-version }}
Copy link
Contributor

Choose a reason for hiding this comment

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

Indeed. Legacy.

then
sc-meta install mx-scenario-go
else
sc-meta install mx-scenario-go --tag ${{ inputs.mx-scenario-go-version }}
Copy link
Contributor

Choose a reason for hiding this comment

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

👍 The thing that triggered this change.


- name: Generate the contract report
env:
RUSTFLAGS: ""
run: |
sc-meta all build-dbg --twiggy-paths --target-dir $(pwd)/target --path .
python3 -m multiversx_sdk_cli.cli contract report --skip-build --skip-twiggy --output-format json --output-file report.json
mxpy contract report --skip-build --skip-twiggy --output-format json --output-file report.json
Copy link
Contributor

Choose a reason for hiding this comment

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

Since reports aren't yet implemented by sc-meta (as far as we know).

@@ -213,5 +206,5 @@ jobs:
env:
RUSTFLAGS: ""
with:
github_token: ${{ secrets.token }}
github_token: ${{ github.token }}
Copy link
Contributor

Choose a reason for hiding this comment

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

Oh, so before was secrets.token. Interesting that the change was necessary.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think there is no difference

@@ -27,15 +27,14 @@ permissions:
jobs:
contracts:
name: Contracts
uses: multiversx/mx-sc-actions/.github/workflows/contracts.yml@v2
uses: multiversx/mx-sc-actions/.github/workflows/contracts.yml@v3
Copy link
Contributor

Choose a reason for hiding this comment

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

Yes, we release it as a new major version.

@popenta popenta merged commit be0bb7e into main Mar 21, 2024
@popenta popenta deleted the update-contract-workflow-v3 branch March 21, 2024 13:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants