Merge pull request #1895 from multiversx/update-mx-actions #7496
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
workflow_dispatch: | |
permissions: | |
checks: write | |
pull-requests: write | |
jobs: | |
contracts: | |
name: Contracts | |
uses: multiversx/mx-sc-actions/.github/workflows/[email protected] | |
with: | |
rust-toolchain: 1.82 | |
path-to-sc-meta: framework/meta | |
mx-scenario-go-version: v2.1.0-alpha | |
coverage-args: --ignore-filename-regex='meta/src' --ignore-filename-regex='wasm-adapter' --ignore-filename-regex='benchmarks/' --ignore-filename-regex='tests/' --output ./coverage.md | |
secrets: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
formatting: | |
name: cargo fmt | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
# Ensure rustfmt is installed and setup problem matcher | |
- uses: actions-rust-lang/setup-rust-toolchain@v1 | |
with: | |
components: rustfmt | |
- name: Rustfmt Check | |
uses: actions-rust-lang/rustfmt@v1 |