This repository has been archived by the owner on Feb 21, 2024. It is now read-only.
fix: add job_id to RPC #587
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test Code | |
on: | |
pull_request: | |
branches: | |
- main | |
- develop | |
push: | |
branches: | |
- main | |
- develop | |
jobs: | |
test: | |
name: Acurast Core | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install toolchain | |
uses: dtolnay/rust-toolchain@nightly | |
with: | |
toolchain: nightly-2023-08-31 | |
components: rustfmt, clippy | |
targets: wasm32-unknown-unknown | |
- name: Install protoc | |
uses: arduino/setup-protoc@v1 | |
# 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: cargo fmt --check | |
- name: Run cargo check for release | |
run: cargo check --release | |
- name: Run cargo check for runtime-benchmarks | |
run: cargo check --release --features runtime-benchmarks | |
- name: Run cargo test | |
run: cargo test |