|
1 | | -name: "Test web4 Rust" |
2 | | -on: |
3 | | - workflow_call: {} |
4 | | - pull_request: |
5 | | - push: |
6 | | - branches: |
7 | | - - main |
| 1 | +# name: "Test web4 Rust" |
| 2 | +# on: |
| 3 | +# workflow_call: {} |
| 4 | +# pull_request: |
| 5 | +# push: |
| 6 | +# branches: |
| 7 | +# - main |
8 | 8 |
|
9 | | -concurrency: |
10 | | - group: web4-contract-${{ github.ref }} |
11 | | - cancel-in-progress: true |
| 9 | +# concurrency: |
| 10 | +# group: web4-contract-${{ github.ref }} |
| 11 | +# cancel-in-progress: true |
12 | 12 |
|
13 | | -jobs: |
14 | | - code-formatting: |
15 | | - name: Code Formatting |
16 | | - runs-on: ubuntu-latest |
17 | | - steps: |
18 | | - - name: Checkout repository |
19 | | - uses: actions/checkout@v4 |
20 | | - - run: cargo fmt --check |
21 | | - working-directory: ./web4/treasury-web4 |
| 13 | +# jobs: |
| 14 | +# code-formatting: |
| 15 | +# name: Code Formatting |
| 16 | +# runs-on: ubuntu-latest |
| 17 | +# steps: |
| 18 | +# - name: Checkout repository |
| 19 | +# uses: actions/checkout@v4 |
| 20 | +# - run: cargo fmt --check |
| 21 | +# working-directory: ./web4/treasury-web4 |
22 | 22 |
|
23 | | - tests-and-lint: |
24 | | - name: Tests and linting |
25 | | - runs-on: ubuntu-latest |
26 | | - steps: |
27 | | - - name: Checkout repository |
28 | | - uses: actions/checkout@v4 |
29 | | - - name: Install cargo-near CLI |
30 | | - run: curl --proto '=https' --tlsv1.2 -LsSf https://github.com/near/cargo-near/releases/latest/download/cargo-near-installer.sh | sh |
31 | | - - name: Build web4 contract |
32 | | - run: cargo near build reproducible-wasm |
33 | | - working-directory: ./web4/treasury-web4 |
34 | | - - name: Build treasury-factory |
35 | | - run: cargo near build reproducible-wasm |
36 | | - working-directory: ./treasury-factory |
37 | | - - name: Run cargo clippy |
38 | | - run: | |
39 | | - rustup component add clippy |
40 | | - cargo clippy --all-features --workspace --tests -- --warn clippy::all --warn clippy::nursery |
41 | | - working-directory: ./web4/treasury-web4 |
42 | | - - name: Run cargo test |
43 | | - run: cargo test |
44 | | - working-directory: ./web4/treasury-web4 |
| 23 | +# tests-and-lint: |
| 24 | +# name: Tests and linting |
| 25 | +# runs-on: ubuntu-latest |
| 26 | +# steps: |
| 27 | +# - name: Checkout repository |
| 28 | +# uses: actions/checkout@v4 |
| 29 | +# - name: Install cargo-near CLI |
| 30 | +# run: curl --proto '=https' --tlsv1.2 -LsSf https://github.com/near/cargo-near/releases/latest/download/cargo-near-installer.sh | sh |
| 31 | +# - name: Build web4 contract |
| 32 | +# run: cargo near build reproducible-wasm |
| 33 | +# working-directory: ./web4/treasury-web4 |
| 34 | +# - name: Build treasury-factory |
| 35 | +# run: cargo near build reproducible-wasm |
| 36 | +# working-directory: ./treasury-factory |
| 37 | +# - name: Run cargo clippy |
| 38 | +# run: | |
| 39 | +# rustup component add clippy |
| 40 | +# cargo clippy --all-features --workspace --tests -- --warn clippy::all --warn clippy::nursery |
| 41 | +# working-directory: ./web4/treasury-web4 |
| 42 | +# - name: Run cargo test |
| 43 | +# run: cargo test |
| 44 | +# working-directory: ./web4/treasury-web4 |
0 commit comments