Skip to content

Commit

Permalink
fix: CI
Browse files Browse the repository at this point in the history
  • Loading branch information
rkdud007 committed Jan 29, 2024
1 parent 345b3fb commit 59f1df2
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 7 deletions.
21 changes: 14 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,25 @@ on:
- main

jobs:
clippy and fmt:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: dtolnay/rust-toolchain@master
with:
toolchain: stable

- name: Install clippy
run: rustup component add clippy

- name: Install rustfmt
run: rustup component add rustfmt

- name: Run clippy for native
run: cargo clippy --all --all-targets -- -D warnings
run: cargo clippy --all --all-targets -- -D warnings

- name: Run fmt
run: cargo fmt -- --check

test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1

- name: Run tests
run: cargo test --all --all-targets -- --nocapture
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Herodotus Data Processor (HDP)

[![CI](https://github.com/HerodotusDev/hdp/actions/workflows/ci.yml/badge.svg)](https://github.com/HerodotusDev/hdp/actions/workflows/ci.yml)

## Main Workflow in `main.rs`

- **`EventWatcher`**: Scrapes events from `HreExecutionStore.sol`.
Expand Down

0 comments on commit 59f1df2

Please sign in to comment.