Some checks are pending
ci / test (push) Waiting to run
Add a README install path for CI-built Linux binaries (curl, checksum, PATH) plus source builds. CI runs tests/clippy on main; tags v*.*.* publish stripped x86_64 and aarch64 artifacts. --version/--help so a download can be checked without booting Tor.
29 lines
470 B
YAML
29 lines
470 B
YAML
name: ci
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
pull_request:
|
|
workflow_dispatch:
|
|
|
|
env:
|
|
CARGO_TERM_COLOR: always
|
|
RUST_BACKTRACE: 1
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-24.04
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- uses: dtolnay/rust-toolchain@stable
|
|
with:
|
|
components: clippy
|
|
|
|
- uses: Swatinem/rust-cache@v2
|
|
|
|
- name: Test
|
|
run: cargo test --locked
|
|
|
|
- name: Clippy
|
|
run: cargo clippy --locked -- -D warnings
|