Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Copyright (C) Nitrokey GmbH
# SPDX-License-Identifier: CC0-1.0

name: CI

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


jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@master
- name: Install rust
run: rustup show active-toolchain || rustup toolchain install
- name: Run checks
run: make lint
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe also add make test TEST_FEATURES="rsa,virt"

- name: Run tests
run: make test TEST_FEATURES="rsa,virt"
47 changes: 0 additions & 47 deletions .gitlab-ci.yml

This file was deleted.

2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ lint:
cargo fmt --check
cargo check --all-features --all-targets
cargo clippy --all-targets --all-features -- -Dwarnings
RUSTDOCFLAGS='-Dwarnings' cargo doc --all-features
RUSTDOCFLAGS='-Dwarnings' cargo doc --all-features --no-deps

.PHONY: tarpaulin
tarpaulin:
Expand Down