Skip to content
This repository has been archived by the owner on Jul 2, 2023. It is now read-only.

Commit

Permalink
ci: add CI covering KMS deps
Browse files Browse the repository at this point in the history
Signed-off-by: Xynnn007 <[email protected]>
  • Loading branch information
Xynnn007 committed May 11, 2023
1 parent ef5ab4d commit df2d65c
Showing 1 changed file with 54 additions and 0 deletions.
54 changes: 54 additions & 0 deletions .github/workflows/kms.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
name: KMS CI
on:
push:
paths:
- 'deps/kms/**'
- '.github/workflows/kms.yml'
pull_request:
paths:
- 'deps/kms/**'
- '.github/workflows/kms.yml'
create:
paths:
- 'deps/kms/**'
- '.github/workflows/kms.yml'

jobs:
crypto_ci:
if: github.event_name == 'pull_request'
name: Check
runs-on: ubuntu-20.04
strategy:
fail-fast: false

steps:
- name: Code checkout
uses: actions/checkout@v2
with:
fetch-depth: 1

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

- name: Run rust fmt check
uses: actions-rs/cargo@v1
with:
command: fmt
args: -p kms -- --check

- name: Run rust lint check
uses: actions-rs/cargo@v1
with:
command: clippy
args: -p kms --all-features

- name: Run cargo test
uses: actions-rs/cargo@v1
with:
command: test
args: -p kms --all-features

0 comments on commit df2d65c

Please sign in to comment.