Skip to content

Fix build: Updated dependencies, Rust toolchain, and comments #68

Fix build: Updated dependencies, Rust toolchain, and comments

Fix build: Updated dependencies, Rust toolchain, and comments #68

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@v3
- uses: actions-rs/toolchain@v1
with:
profile: minimal
components: rustfmt, clippy
toolchain: nightly
# Needed for gcc install
- run: sudo apt update && sudo apt install -y build-essential
- run: make prepare
- run: make check-lint
- run: make test