Skip to content

Commit

Permalink
Add CI workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
robin-nitrokey committed Jun 19, 2024
1 parent 9d3e7d7 commit abe582a
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: CI

on:
push:
branches:
- main
pull_request:

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@master

- name: Check code
run: cargo check
- name: Run tests
run: cargo test
- name: Run rustfmt
run: cargo fmt -- --check
- name: Run clippy
run: cargo clippy -- --deny warnings
- name: Check documentation
run: RUSTDOCFLAGS="-D warnings" cargo doc --no-deps

0 comments on commit abe582a

Please sign in to comment.