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

Commit

Permalink
update CI jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
salman01zp committed Mar 6, 2024
1 parent ce88dc8 commit 093ac07
Showing 1 changed file with 25 additions and 21 deletions.
46 changes: 25 additions & 21 deletions .github/workflows/validate_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,37 +2,41 @@ name: Test and Check

on:
push:
branches:
- main
branches: [main]
pull_request:
branches: [main]
paths-ignore:
- "README.md"

workflow_dispatch:

jobs:
test:
concurrency:
group: clippy-${{ github.ref }}
cancel-in-progress: true
group: test-${{ 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: 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: Install protobuf-compiler
run: sudo apt-get install protobuf-compiler

- name: Rust Cache
uses: Swatinem/[email protected]
- name: Rust Cache
uses: Swatinem/[email protected]

- name: Test workspace
run: cargo test --package pallet-eth2-light-client
- name: Test workspace
run: cargo test --package pallet-eth2-light-client

rustfmt:
concurrency:
Expand Down Expand Up @@ -69,7 +73,7 @@ jobs:

- name: Rust Cache
uses: Swatinem/[email protected]

- name: Install Protobuf
run: sudo apt-get install protobuf-compiler

Expand Down

0 comments on commit 093ac07

Please sign in to comment.