Add support for Ed25519 key generation #44
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: CI | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
override: true | |
components: clippy, rustfmt | |
- name: Check format | |
run: cargo fmt --all -- --check | |
- name: Check with clippy | |
run: cargo clippy --all | |
- name: Build without features | |
run: cargo build --no-default-features | |
- name: Build | |
run: cargo build --all --verbose | |
- name: Run tests | |
run: cargo test --all --verbose | |
# examples | |
- name: Check examples format | |
run: cargo fmt --all -- --check | |
working-directory: ./examples | |
- name: Check examples with clippy | |
run: cargo clippy --all | |
working-directory: ./examples | |
- name: Build examples | |
run: cargo build --all --verbose | |
working-directory: ./examples |