Skip to content

Commit 3203c83

Browse files
authored
Merge pull request #1 from tangle-network/publish-fixes
fix: remove git dependencies for publishing
2 parents f04a9c9 + 9e09880 commit 3203c83

File tree

6 files changed

+281
-43
lines changed

6 files changed

+281
-43
lines changed

.github/dependabot.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# To get started with Dependabot version updates, you'll need to specify which
2+
# package ecosystems to update and where the package manifests are located.
3+
# Please see the documentation for all configuration options:
4+
# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file
5+
6+
version: 2
7+
updates:
8+
- package-ecosystem: "cargo"
9+
directory: "/"
10+
schedule:
11+
interval: "weekly"
12+
- package-ecosystem: "github-actions"
13+
directory: "/"
14+
schedule:
15+
interval: "weekly"

.github/workflows/build-setup.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# This file is used to install the Foundry toolchain and verify the installation.
2+
3+
- name: Install Foundry
4+
uses: foundry-rs/foundry-toolchain@v1
5+
6+
- name: Verify Forge installation
7+
run: forge --version

.github/workflows/ci.yml

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
name: CI
2+
3+
on:
4+
pull_request:
5+
branches: [ main ]
6+
push:
7+
branches: [ main ]
8+
workflow_dispatch:
9+
10+
concurrency:
11+
group: rust-validation-${{ github.head_ref }}
12+
cancel-in-progress: true
13+
14+
env:
15+
RUST_BACKTRACE: full
16+
CARGO_TERM_COLOR: always
17+
IN_CI: "true"
18+
19+
jobs:
20+
formatting:
21+
name: Rustfmt
22+
runs-on: ubuntu-latest
23+
steps:
24+
- name: Checkout Code
25+
uses: actions/checkout@v2
26+
27+
- name: Install Rust
28+
uses: actions-rs/toolchain@v1
29+
with:
30+
toolchain: stable
31+
components: rustfmt
32+
33+
- name: Check Formatting
34+
run: cargo fmt -- --check
35+
36+
linting:
37+
timeout-minutes: 120
38+
name: cargo clippy
39+
runs-on: ubuntu-latest
40+
steps:
41+
- name: checkout code
42+
uses: actions/checkout@v2
43+
44+
- name: Install Foundry
45+
uses: foundry-rs/foundry-toolchain@v1
46+
47+
- name: Verify Forge installation
48+
run: forge --version
49+
50+
- name: install rust
51+
uses: actions-rs/toolchain@v1
52+
with:
53+
toolchain: stable
54+
55+
- uses: swatinem/rust-cache@v2
56+
with:
57+
cache-on-failure: "true"
58+
59+
- name: install protobuf and gmp
60+
run: |
61+
sudo apt-get update
62+
sudo apt-get install -y protobuf-compiler libprotobuf-dev libgmp-dev
63+
64+
- name: Run Clippy
65+
run: cargo clippy --tests --examples -- -D warnings

Cargo.lock

Lines changed: 8 additions & 33 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,7 @@ broken_intra_doc_links = "deny"
3737

3838
[dependencies]
3939
color-eyre = { version = "0.6" }
40-
# eigensdk = { version = "0.5.0", features = ["crypto-bls", "utils"] }
41-
eigensdk = { git = "https://github.com/Tjemmmic/eigensdk-rs.git", branch = "reader-type-annotations", features = ["crypto-bls", "utils"] }
40+
eigensdk = { version = "0.5.0", features = ["crypto-bls", "utils"] }
4241
serde = { version = "1.0.127", features = ["derive"] }
4342
serde_json = { version = "1.0.67", features = ["alloc"] }
4443
alloy = { version = "0.12" }
@@ -49,6 +48,3 @@ alloy-contract = { version = "0.12" }
4948
alloy-provider = { version = "0.12" }
5049
alloy-primitives = { version = "0.8" }
5150
tracing = { version = "0.1.41" }
52-
53-
[build-dependencies]
54-
blueprint-build-utils = { git = "https://github.com/tangle-network/blueprint", branch = "main" }

0 commit comments

Comments
 (0)