louib / challenge-response

Perform HMAC-SHA1 and OTP challenges with YubiKey, OnlyKey and NitroKey, in pure Rust.
Other
4 stars 1 forks source link

ci: add a PR workflow #2

Closed louib closed 10 months ago

louib commented 10 months ago

The first commit adds a CI workflow that will run on PRs. For now we only check that the code is well formatted, and that the doc is building. The second commit formats the codebase, using the following bash script:

#!/usr/bin/env bash
files=$(find . -name '*.rs')
IFS=$'\n'; for file in $files; do
    rustfmt "$file"
done