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

Update to 1.7.0

Update to 1.7.0 #310

Workflow file for this run

name: Test and Check
on:
push:
branches:
- main
pull_request:
jobs:
test:
concurrency:
group: clippy-${{ github.ref }}
cancel-in-progress: true
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Install toolchain
id: toolchain
uses: actions-rs/toolchain@master
with:
profile: minimal
toolchain: stable
target: wasm32-unknown-unknown
- name: Install protobuf-compiler
run: sudo apt-get install protobuf-compiler
- name: Rust Cache
uses: Swatinem/[email protected]
- name: Test workspace
run: cargo test --package pallet-eth2-light-client
rustfmt:
concurrency:
group: rustfmt-${{ github.ref }}
cancel-in-progress: true
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install latest stable
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
components: rustfmt
- name: Rustfmt check
run: cargo fmt --all -- --check
clippy:
concurrency:
group: clippy-${{ github.ref }}
cancel-in-progress: true
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install toolchain
id: toolchain
uses: actions-rs/toolchain@master
with:
profile: minimal
toolchain: stable
target: wasm32-unknown-unknown
- name: Rust Cache
uses: Swatinem/[email protected]
- name: Install Protobuf
run: sudo apt-get install protobuf-compiler
- name: Run clippy
run: cargo clippy --package pallet-eth2-light-client -- -D warnings