Merge pull request #100 from adorsys/94-create-a-readme-file-for-did-… #101
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Rust CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
name: Build and Test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Set up Rust | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
- name: Install system dependencies | |
run: sudo apt-get update && sudo apt-get install -y libssl-dev pkg-config | |
- name: Build and Run Test | |
run: | | |
cargo build --workspace --all-features | |
cargo test --workspace --all-features |