Skip to content

Delete papers/Getting-closer-to-multi-chain-smart contracts.pdf #43

Delete papers/Getting-closer-to-multi-chain-smart contracts.pdf

Delete papers/Getting-closer-to-multi-chain-smart contracts.pdf #43

Workflow file for this run

name: "Rust Check, Test, Lint CI"
on:
push:
branches: ["main", "develop"]
pull_request:
branches: ["main", "develop"]
env:
CARGO_TERM_COLOR: always
RUSTDOCFLAGS: -D warnings
RUSTFLAGS: "-Dwarnings"
jobs:
lints:
name: Lints
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v3
- name: Rust setup
uses: ./.github/actions/rust-setup
- name: Run cargo check
run: cargo check
- name: Run cargo check on release version
run: cargo check --release
- name: Run cargo fmt
run: cargo fmt --all -- --check
- name: Run Clippy
run: cargo clippy --all-targets
doctests:
needs: [lints]
name: Check Documentation
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v3
- name: Rust setup
uses: ./.github/actions/rust-setup
- name: Run cargo doc
run: cargo doc --no-deps
build:
needs: [lints, doctests]
name: Build
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout sources
uses: actions/checkout@v3
- name: Rust setup
uses: ./.github/actions/rust-setup
- name: Install OpenMP to link for rapidnsark on ubuntu-latest
if: ${{ matrix.os == ubuntu-latest }}

Check failure on line 66 in .github/workflows/rust.yaml

View workflow run for this annotation

GitHub Actions / Rust Check, Test, Lint CI

Invalid workflow file

The workflow is not valid. .github/workflows/rust.yaml (Line: 66, Col: 13): Unrecognized named-value: 'ubuntu-latest'. Located at position 14 within expression: matrix.os == ubuntu-latest
run: |
sudo apt update && sudo apt upgrade
sudo apt install libomp-dev
- name: Run cargo build
run: cargo build
- name: Run cargo build on release version
run: cargo build --release