Skip to content

Init

Init #21

Workflow file for this run

name: Contracts CI
on:
push:
branches: [master]
pull_request:
branches: [master]
env:
CARGO_TERM_COLOR: always
jobs:
all:
name: All
runs-on: self-hosted
defaults:
run:
working-directory: contracts
steps:
- name: Install software
run: |
sudo dnf install gcc-c++ rustup -y
- name: Checkout
uses: actions/checkout@v3
- name: Format
run: cargo fmt --all --check
- name: Clippy
run: cargo clippy --all-targets -- -Dwarnings
- name: Tests
run: |
cargo xtask node
cargo t --all-targets -- --include-ignored