|
1 | | -on: |
2 | | - push: |
3 | | - branches: |
4 | | - - master |
5 | | - pull_request: |
| 1 | +# on: |
| 2 | +# push: |
| 3 | +# branches: |
| 4 | +# - main |
| 5 | +# pull_request: |
6 | 6 |
|
7 | | -name: Rust |
| 7 | +# name: Rust |
8 | 8 |
|
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 |
18 | 18 |
|
19 | | - - name: Install toolchain |
20 | | - uses: dtolnay/rust-toolchain@stable |
| 19 | +# - name: Install toolchain |
| 20 | +# uses: dtolnay/rust-toolchain@stable |
21 | 21 |
|
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 |
25 | 25 |
|
26 | | - - name: cargo test |
27 | | - run: cargo test --workspace --all-features |
| 26 | +# - name: cargo test |
| 27 | +# run: cargo test --workspace --all-features |
28 | 28 |
|
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" |
42 | 42 |
|
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" |
56 | 56 |
|
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 |
0 commit comments