Skip to content

Init

Init #14

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 GCC
run: |
sudo apt update
sudo apt install gcc
- 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