Skip to content

fix: attempt to fix CI by adding components and pre-build contract #2

fix: attempt to fix CI by adding components and pre-build contract

fix: attempt to fix CI by adding components and pre-build contract #2

Workflow file for this run

name: CI
on:
push:
branches:
- master
- develop
pull_request:
jobs:
fmt:
name: Formatting
runs-on: github-hosted-heavy-runner
steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: Run rustfmt
uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check
clippy:
name: Clippy
runs-on: github-hosted-heavy-runner
steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: Run clippy
uses: actions-rs/clippy-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --all-targets -- -D warnings
test:
name: Tests
runs-on: github-hosted-heavy-runner
steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: Build Smart Contract
uses: actions-rs/cargo@v1
with:
command: build
args: --release --target wasm32-unknown-unknown
- name: Run tests
uses: actions-rs/cargo@v1
with:
command: test
args: --all-targets