Skip to content

Commit 86d4c47

Browse files
committed
disable actions for now because private WAVS repo
1 parent d30d3b3 commit 86d4c47

File tree

3 files changed

+110
-103
lines changed

3 files changed

+110
-103
lines changed

.github/workflows/contracts.yml

Lines changed: 45 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -1,45 +1,45 @@
1-
name: Solidity
2-
on:
3-
push:
4-
branches:
5-
- main
6-
pull_request:
7-
8-
jobs:
9-
tests:
10-
runs-on: ubuntu-latest
11-
steps:
12-
- uses: actions/checkout@v3
13-
14-
- name: Install Foundry
15-
uses: onbjerg/foundry-toolchain@v1
16-
with:
17-
version: nightly
18-
19-
- name: Install deps
20-
run: forge install
21-
22-
- name: Run forge tests
23-
run: forge test
24-
25-
bindings:
26-
runs-on: ubuntu-latest
27-
steps:
28-
- uses: actions/checkout@v3
29-
30-
- name: Install Foundry
31-
uses: onbjerg/foundry-toolchain@v1
32-
with:
33-
version: nightly
34-
35-
- name: Pull library deps
36-
run: forge install
37-
38-
- name: Check fmt
39-
run: forge fmt --check
40-
41-
- name: Build contracts before checking bindings are correct
42-
run: forge build --sizes
43-
44-
- name: Check bindings are correct
45-
run: forge bind --bindings-path ./crates/bindings --crate-name bindings --skip-cargo-toml --alloy
1+
# name: Solidity
2+
# on:
3+
# push:
4+
# branches:
5+
# - main
6+
# pull_request:
7+
8+
# jobs:
9+
# tests:
10+
# runs-on: ubuntu-latest
11+
# steps:
12+
# - uses: actions/checkout@v3
13+
14+
# - name: Install Foundry
15+
# uses: onbjerg/foundry-toolchain@v1
16+
# with:
17+
# version: nightly
18+
19+
# - name: Install deps
20+
# run: forge install
21+
22+
# - name: Run forge tests
23+
# run: forge test
24+
25+
# bindings:
26+
# runs-on: ubuntu-latest
27+
# steps:
28+
# - uses: actions/checkout@v3
29+
30+
# - name: Install Foundry
31+
# uses: onbjerg/foundry-toolchain@v1
32+
# with:
33+
# version: nightly
34+
35+
# - name: Pull library deps
36+
# run: forge install
37+
38+
# - name: Check fmt
39+
# run: forge fmt --check
40+
41+
# - name: Build contracts before checking bindings are correct
42+
# run: forge build --sizes
43+
44+
# - name: Check bindings are correct
45+
# run: forge bind --bindings-path ./crates/bindings --crate-name bindings --skip-cargo-toml --alloy

.github/workflows/rust.yml

Lines changed: 58 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -1,66 +1,66 @@
1-
on:
2-
push:
3-
branches:
4-
- main
5-
pull_request:
1+
# on:
2+
# push:
3+
# branches:
4+
# - main
5+
# pull_request:
66

7-
name: Rust
7+
# name: Rust
88

9-
jobs:
10-
tests-stable:
11-
name: Tests (Stable)
12-
runs-on: ubuntu-latest
13-
env:
14-
ETH_RPC_URL: https://eth-mainnet.alchemyapi.io/v2/Lc7oIGYeL_QvInzI0Wiu_pOZZDEKBrdf
15-
steps:
16-
- name: Checkout sources
17-
uses: actions/checkout@v3
9+
# jobs:
10+
# tests-stable:
11+
# name: Tests (Stable)
12+
# runs-on: ubuntu-latest
13+
# env:
14+
# ETH_RPC_URL: https://eth-mainnet.alchemyapi.io/v2/Lc7oIGYeL_QvInzI0Wiu_pOZZDEKBrdf
15+
# steps:
16+
# - name: Checkout sources
17+
# uses: actions/checkout@v3
1818

19-
- name: Install toolchain
20-
uses: dtolnay/rust-toolchain@stable
19+
# - name: Install toolchain
20+
# uses: dtolnay/rust-toolchain@stable
2121

22-
- uses: Swatinem/rust-cache@v2
23-
with:
24-
cache-on-failure: true
22+
# - uses: Swatinem/rust-cache@v2
23+
# with:
24+
# cache-on-failure: true
2525

26-
- name: cargo test
27-
run: cargo test --workspace --all-features
26+
# - name: cargo test
27+
# run: cargo test --workspace --all-features
2828

29-
clippy:
30-
name: clippy
31-
runs-on: ubuntu-latest
32-
steps:
33-
- uses: actions/checkout@v3
34-
- uses: dtolnay/rust-toolchain@nightly
35-
with:
36-
components: clippy
37-
- uses: Swatinem/rust-cache@v2
38-
- name: clippy
39-
run: cargo clippy --workspace --tests --all-features
40-
env:
41-
RUSTFLAGS: "-D warnings"
29+
# clippy:
30+
# name: clippy
31+
# runs-on: ubuntu-latest
32+
# steps:
33+
# - uses: actions/checkout@v3
34+
# - uses: dtolnay/rust-toolchain@nightly
35+
# with:
36+
# components: clippy
37+
# - uses: Swatinem/rust-cache@v2
38+
# - name: clippy
39+
# run: cargo clippy --workspace --tests --all-features
40+
# env:
41+
# RUSTFLAGS: "-D warnings"
4242

43-
docs:
44-
name: docs
45-
runs-on: ubuntu-latest
46-
steps:
47-
- uses: actions/checkout@v3
48-
- uses: dtolnay/rust-toolchain@nightly
49-
with:
50-
components: rust-docs
51-
- uses: Swatinem/rust-cache@v2
52-
- name: doc
53-
run: cargo doc --workspace --all-features --no-deps --document-private-items
54-
env:
55-
RUSTDOCFLAGS: "-D warnings"
43+
# docs:
44+
# name: docs
45+
# runs-on: ubuntu-latest
46+
# steps:
47+
# - uses: actions/checkout@v3
48+
# - uses: dtolnay/rust-toolchain@nightly
49+
# with:
50+
# components: rust-docs
51+
# - uses: Swatinem/rust-cache@v2
52+
# - name: doc
53+
# run: cargo doc --workspace --all-features --no-deps --document-private-items
54+
# env:
55+
# RUSTDOCFLAGS: "-D warnings"
5656

57-
fmt:
58-
name: fmt
59-
runs-on: ubuntu-latest
60-
steps:
61-
- uses: actions/checkout@v3
62-
- uses: dtolnay/rust-toolchain@nightly
63-
with:
64-
components: rustfmt
65-
- name: fmt --check
66-
run: cargo fmt --all --check
57+
# fmt:
58+
# name: fmt
59+
# runs-on: ubuntu-latest
60+
# steps:
61+
# - uses: actions/checkout@v3
62+
# - uses: dtolnay/rust-toolchain@nightly
63+
# with:
64+
# components: rustfmt
65+
# - name: fmt --check
66+
# run: cargo fmt --all --check

rustfmt.toml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,10 @@ use_small_heuristics = "Max"
22
use_field_init_shorthand = true
33

44
# See more keys and their definitions at https://rust-lang.github.io/rustfmt
5+
6+
# # unstable - require nightly rustfmt
7+
# imports_granularity = "Crate"
8+
# wrap_comments = true
9+
# comment_width = 100
10+
# # ignore automatically generated bindings
11+
# ignore = ["crates/bindings/"]

0 commit comments

Comments
 (0)