Skip to content
This repository has been archived by the owner on Nov 20, 2023. It is now read-only.

Commit

Permalink
chore: update some dependencies and add CI
Browse files Browse the repository at this point in the history
  • Loading branch information
aleksuss committed Sep 20, 2023
1 parent 196b9cb commit 9ca3b73
Show file tree
Hide file tree
Showing 44 changed files with 897 additions and 781 deletions.
61 changes: 61 additions & 0 deletions .github/workflows/rust.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
name: CI
on:
push:
branches:
- master
pull_request:

jobs:
fmt:
name: Formatting
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: Run rustfmt
uses: actions-rs/cargo@v1
with:
command: fmt
args: --all --check

clippy:
name: Clippy
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v4
with:
submodules: recursive
- name: Run clippy simple
uses: actions-rs/clippy-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --all-targets -- -D clippy::all -D clippy::nursery

test:
name: Tests
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v4
with:
submodules: recursive
- name: Run tests simple
uses: actions-rs/cargo@v1
with:
command: test
args: --all-targets

benchmarks:
name: Benchmarks
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v4
with:
submodules: recursive
- name: Run benchmarks
uses: actions-rs/cargo@v1
with:
command: bench
args: --all-targets
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
[submodule "jsontests/res/ethtests"]
path = jsontests/res/ethtests
url = https://github.com/ethereum/tests
tag = 9.0.5
tag = v12.3
Loading

0 comments on commit 9ca3b73

Please sign in to comment.