Skip to content

Condor version

Condor version #38

name: ci-casper-rust-contract
on:
push:
branches: [master]
paths-ignore:
- '**.md'
pull_request:
branches: [master]
paths-ignore:
- '**.md'
jobs:
build:
strategy:
matrix:
os: [ubuntu-20.04, ubuntu-22.04]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
components: rustfmt, clippy
# Needed for gcc install
- run: sudo apt update && sudo apt install -y build-essential wabt
- uses: Swatinem/rust-cache@v1
- run: make prepare
- run: make check-lint
- run: make test