-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor!(all): remove ethers and use alloy (#235)
* refactor(all): remove ethers and use alloy Signed-off-by: Gustavo Inacio <[email protected]> * chore: bump rust to 1.79 Signed-off-by: Gustavo Inacio <[email protected]> * refactor: use SignatureBytes instead of [u8; 65] Signed-off-by: Gustavo Inacio <[email protected]> --------- Signed-off-by: Gustavo Inacio <[email protected]>
- Loading branch information
Showing
28 changed files
with
304 additions
and
384 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,27 +3,27 @@ name: tests | |
|
||
on: | ||
push: | ||
branches: [ main ] | ||
branches: [main] | ||
pull_request: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
fmt: | ||
name: cargo fmt | ||
runs-on: ubuntu-latest | ||
container: | ||
image: rust:1.74-bookworm | ||
container: | ||
image: rust:1.79-bookworm | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- run: | | ||
rustup component add rustfmt | ||
cargo fmt --all -- --check | ||
clippy: | ||
name: cargo clippy | ||
runs-on: ubuntu-latest | ||
container: | ||
image: rust:1.74-bookworm | ||
container: | ||
image: rust:1.79-bookworm | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/cache@v3 | ||
|
@@ -36,9 +36,9 @@ jobs: | |
target/ | ||
key: ${{ runner.os }}-cargo-clippy | ||
- run: | | ||
rustup component add clippy | ||
cargo clippy --all-targets --all-features -- -D warnings | ||
rustup component add clippy | ||
cargo clippy --all-targets --all-features -- -D warnings | ||
test-and-coverage: | ||
name: cargo test and coverage | ||
runs-on: ubuntu-latest | ||
|
@@ -47,7 +47,7 @@ jobs: | |
pull-requests: write | ||
actions: read | ||
container: | ||
image: rust:1.74-bookworm | ||
image: rust:1.79-bookworm | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/cache@v3 | ||
|
@@ -62,7 +62,7 @@ jobs: | |
- name: Install cargo-llvm-cov | ||
uses: taiki-e/install-action@cargo-llvm-cov | ||
- name: Run tests and generate coverage report | ||
run: cargo llvm-cov test --all-features --workspace --lcov --output-path lcov.info | ||
run: cargo llvm-cov test --all-features --workspace --lcov --output-path lcov.info | ||
- name: Upload coverage to Coveralls | ||
uses: coverallsapp/[email protected] | ||
with: | ||
|
@@ -72,7 +72,7 @@ jobs: | |
name: cargo test docs | ||
runs-on: ubuntu-latest | ||
container: | ||
image: rust:1.74-bookworm | ||
image: rust:1.79-bookworm | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/cache@v3 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM rust:1.74-bookworm as build | ||
FROM rust:1.79-bookworm as build | ||
|
||
WORKDIR /root | ||
COPY . . | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.