Skip to content

Update crates and tests to last state of art #29

Update crates and tests to last state of art

Update crates and tests to last state of art #29

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
- uses: Swatinem/rust-cache@v1
- run: make prepare
- run: make check-lint
- run: make test