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

Commit 6bb9285

Browse files
committed
chore: update some dependencies and add CI
1 parent 196b9cb commit 6bb9285

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+897
-781
lines changed

.github/workflows/rust.yaml

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
name: CI
2+
on:
3+
push:
4+
branches:
5+
- master
6+
pull_request:
7+
8+
jobs:
9+
fmt:
10+
name: Formatting
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Checkout sources
14+
uses: actions/checkout@v4
15+
- name: Run rustfmt
16+
uses: actions-rs/cargo@v1
17+
with:
18+
command: fmt
19+
args: --all --check
20+
21+
clippy:
22+
name: Clippy
23+
runs-on: ubuntu-latest
24+
steps:
25+
- name: Checkout sources
26+
uses: actions/checkout@v4
27+
with:
28+
submodules: recursive
29+
- name: Run clippy simple
30+
uses: actions-rs/clippy-check@v1
31+
with:
32+
token: ${{ secrets.GITHUB_TOKEN }}
33+
args: --all-targets -- -D clippy::all -D clippy::nursery
34+
35+
test:
36+
name: Tests
37+
runs-on: ubuntu-latest
38+
steps:
39+
- name: Checkout sources
40+
uses: actions/checkout@v4
41+
with:
42+
submodules: recursive
43+
- name: Run tests simple
44+
uses: actions-rs/cargo@v1
45+
with:
46+
command: test
47+
args: --all-targets
48+
49+
benchmarks:
50+
name: Benchmarks
51+
runs-on: ubuntu-latest
52+
steps:
53+
- name: Checkout sources
54+
uses: actions/checkout@v4
55+
with:
56+
submodules: recursive
57+
- name: Run benchmarks
58+
uses: actions-rs/cargo@v1
59+
with:
60+
command: bench
61+
args: --all-targets

.gitmodules

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
[submodule "jsontests/res/ethtests"]
55
path = jsontests/res/ethtests
66
url = https://github.com/ethereum/tests
7-
tag = 9.0.5
7+
tag = v12.3

0 commit comments

Comments
 (0)