diff --git a/.github/workflows/doc.yml b/.github/workflows/doc.yml new file mode 100644 index 000000000..a849cc96f --- /dev/null +++ b/.github/workflows/doc.yml @@ -0,0 +1,25 @@ +# Runs documentation related jobs. + +name: doc + +on: + push: + branches: [main, next] + pull_request: + types: [opened, reopened, synchronize] + +jobs: + doc: + name: doc stable on ubuntu-latest + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Install Rust + uses: actions-rs/toolchain@v1 + with: + profile: minimal + override: true + - name: Install cargo make + run: cargo install cargo-make + - name: cargo make - doc + run: cargo make doc diff --git a/.github/workflows/ci.yml b/.github/workflows/lint.yml similarity index 56% rename from .github/workflows/ci.yml rename to .github/workflows/lint.yml index af5cc2278..7a4c33576 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/lint.yml @@ -1,11 +1,10 @@ -# Runs the CI +# Runs linting related jobs. -name: CI +name: lint on: push: - branches: - - main + branches: [main, next] pull_request: types: [opened, reopened, synchronize] @@ -35,8 +34,8 @@ jobs: override: true - name: Install cargo make run: cargo install cargo-make - - name: cargo make - format - run: cargo make format + - name: cargo make - format-check + run: cargo make format-check clippy: name: clippy stable on ubuntu-latest @@ -53,35 +52,3 @@ jobs: run: cargo install cargo-make - name: cargo make - clippy run: cargo make clippy - - doc: - name: doc stable on ubuntu-latest - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - name: Install Rust - uses: actions-rs/toolchain@v1 - with: - profile: minimal - override: true - - name: Install cargo make - run: cargo install cargo-make - - name: cargo make - format - run: cargo make doc - - test: - name: test stable on ubuntu-latest - runs-on: ubuntu-latest - timeout-minutes: 30 - steps: - - uses: actions/checkout@v4 - - name: Install Rust - uses: actions-rs/toolchain@v1 - with: - profile: minimal - override: true - - name: Install cargo make - run: cargo install cargo-make - - name: cargo make - format - run: cargo make test - diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 000000000..fd2778950 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,26 @@ +# Runs testing related jobs. + +name: test + +on: + push: + branches: [main, next] + pull_request: + types: [opened, reopened, synchronize] + +jobs: + unit-and-integration: + name: test stable on ubuntu-latest + runs-on: ubuntu-latest + timeout-minutes: 30 + steps: + - uses: actions/checkout@v4 + - name: Install Rust + uses: actions-rs/toolchain@v1 + with: + profile: minimal + override: true + - name: Install cargo make + run: cargo install cargo-make + - name: cargo make - test + run: cargo make test diff --git a/README.md b/README.md index 4dad628e1..405589d94 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # Miden node - + This repository holds the Miden node; that is, the software which processes transactions and creates blocks for the Miden rollup. diff --git a/miden-node.toml b/miden-node.toml deleted file mode 100644 index 04f582981..000000000 --- a/miden-node.toml +++ /dev/null @@ -1,21 +0,0 @@ -# This is an example configuration file for the Miden node. - -[block_producer] -# port defined as: sum(ord(c)**p for (p, c) in enumerate('miden-block-producer', 1)) % 2**16 -endpoint = { host = "localhost", port = 48046 } -store_url = "http://localhost:28943" -# enables or disables the verification of transaction proofs before they are accepted into the -# transaction queue. -verify_tx_proofs = true - -[rpc] -# port defined as: sum(ord(c)**p for (p, c) in enumerate('miden-rpc', 1)) % 2**16 -endpoint = { host = "0.0.0.0", port = 57291 } -block_producer_url = "http://localhost:48046" -store_url = "http://localhost:28943" - -[store] -# port defined as: sum(ord(c)**p for (p, c) in enumerate('miden-store', 1)) % 2**16 -endpoint = { host = "localhost", port = 28943 } -database_filepath = "db/miden-store.sqlite3" -genesis_filepath = "genesis.dat"