Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/cicd #14

Merged
merged 3 commits into from
Feb 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 0 additions & 16 deletions .github/workflows/build.yml

This file was deleted.

8 changes: 4 additions & 4 deletions .github/workflows/deploy.yml → .github/workflows/cd.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Deploy
name: Continuous Deployment

on:
push:
Expand All @@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Build
run: cargo build --release

Expand All @@ -18,7 +18,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Test
run: cargo test

Expand All @@ -27,7 +27,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
Expand Down
43 changes: 43 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: Continuous Integration

on:
push:
branches: [main]
pull_request:
branches: [main]

jobs:
build_merkletreers_library:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Build
run: cargo build --release

merkle_root:
needs: ["build_merkletreers_library"]
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Run merkle_root tests
run: cargo test merkle_root

merkle_proof:
needs: ["build_merkletreers_library"]
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Run merkle_proof tests
run: cargo test merkle_proof

merkle_proof_check:
needs: ["build_merkletreers_library"]
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Run merkle_proof_check tests
run: cargo test merkle_proof_check
16 changes: 0 additions & 16 deletions .github/workflows/test.yml

This file was deleted.