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

chore: update some dependencies and add CI #25

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
4 changes: 2 additions & 2 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[submodule "evm"]
path = evm
url = https://github.com/rust-blockchain/evm
url = https://github.com/aurora-is-near/sputnikvm
[submodule "jsontests/res/ethtests"]
path = jsontests/res/ethtests
url = https://github.com/ethereum/tests
tag = 9.0.5
tag = v12.3
Loading