commit
cf25e28c28
156 files changed
+38669
No files matched your search
@@ -0,0 +1,19 @@
|
||||
name: Rust verification
|
||||
on: [push, pull_request]
|
||||
permissions:
|
||||
contents: read
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: dtolnay/rust-toolchain@stable
|
||||
with:
|
||||
components: rustfmt, clippy
|
||||
- run: cargo fmt --all -- --check
|
||||
- run: cargo clippy --locked --all-targets -- -D warnings
|
||||
- run: cargo test --locked
|
||||
- run: cargo build --locked --release
|
||||
- run: python3 tests/http_smoke.py target/release/twofauth-rs
|
||||
- run: python3 -m py_compile tools/inventory.py tools/differential_http.py
|
||||
- run: docker build -t twofauth-rs:test .
|
||||
Reference in new issue
Block a user