Skip to content
This repository has been archived by the owner on Feb 21, 2024. It is now read-only.

fix: add job_id to RPC #600

fix: add job_id to RPC

fix: add job_id to RPC #600

Workflow file for this run

name: Test Code
on:
pull_request:
branches:
- main
- develop
push:
branches:
- main
- develop
jobs:
test:
name: Acurast Core
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
- name: docker image
run: docker pull rust:latest
- name: docker image
run: docker image ls --digests
- name: Build test Docker Image
run: docker build -t ci -f ci.Dockerfile .
- name: Check formatting
run: docker run -i -v $PWD:/code ci update
- name: print lock
run: cat Cargo.lock
# Uncomment once linting issues have been fixed
# Enable this for clippy linting.
# - name: Check and Lint Code
# run: cargo clippy -- -D warnings
- name: Check formatting
run: docker run -i -v $PWD:/code ci fmt --check
- name: Run cargo check for release
run: docker run -i -v $PWD:/code ci check --release
- name: Run cargo check for runtime-benchmarks
run: docker run -i -v $PWD:/code ci check --release --features runtime-benchmarks
- name: Run cargo test
run: docker run -i -v $PWD:/code ci test