Skip to content

Commit

Permalink
Merge branch 'szszszsz-patch-ci'
Browse files Browse the repository at this point in the history
Add CI with Github Actions

Fixes #18
  • Loading branch information
szszszsz committed Feb 3, 2023
2 parents bee0eb8 + ca3132c commit 34ed817
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 42 deletions.
1 change: 0 additions & 1 deletion .github/FUNDING.yml

This file was deleted.

37 changes: 0 additions & 37 deletions .github/workflows/docs.yml

This file was deleted.

23 changes: 23 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Rust

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

env:
CARGO_TERM_COLOR: always

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Setup
run: sudo apt install llvm libclang-dev
- name: Run tests
run: cargo test --verbose

3 changes: 0 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,3 @@ apdu-dispatch = { git = "https://github.com/Nitrokey/apdu-dispatch", tag = "v0.1
littlefs2 = { git = "https://github.com/Nitrokey/littlefs2", tag = "v0.3.2-nitrokey-1" }
trussed = { git = "https://github.com/Nitrokey/trussed", tag = "v0.1.0-nitrokey-4" }
usbd-ctaphid = { git = "https://github.com/trussed-dev/usbd-ctaphid"}

# unreleased
interchange = { git = "https://github.com/trussed-dev/interchange" }
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ pub use command::Command;
mod credential;
#[cfg(feature = "ctaphid")]
mod ctaphid;
mod encrypted_container;
pub mod encrypted_container;
mod oath;
mod state;

Expand Down

0 comments on commit 34ed817

Please sign in to comment.