Skip to content

Commit

Permalink
ci: add metadata worflow
Browse files Browse the repository at this point in the history
  • Loading branch information
remiroyc committed Sep 15, 2023
1 parent bc74415 commit 7979336
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/metadata-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Rust CI

on:
pull_request:
paths:
- 'ark-metadata/**/*.rs'
- 'ark-metadata/Cargo.toml'
- 'ark-metadata/Cargo.lock'

jobs:
build_and_test:
name: Build and Test
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Install Rust
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true

- name: Build ark-metadata crate
uses: actions-rs/cargo@v1
with:
command: build
args: --manifest-path ark-metadata/Cargo.toml --all-features

- name: Run tests for ark-metadata crate
uses: actions-rs/cargo@v1
with:
command: test
args: --manifest-path ark-metadata/Cargo.toml --all-features

0 comments on commit 7979336

Please sign in to comment.