Skip to content

Add tool to generate event UIDs and update README #2

Add tool to generate event UIDs and update README

Add tool to generate event UIDs and update README #2

Workflow file for this run

on: [push, pull_request]
name: continuous integration
jobs:
test:
name: test
runs-on: ubuntu-20.04
steps:
- uses: actions/[email protected]
- uses: dtolnay/rust-toolchain@stable
- run: |
(cd xtask && cargo check --all-features)
(cd xtask && cargo test --release --all-features)
cargo xtask -h
cargo xtask generate-uid -h >/dev/null
test 40 -eq $(cargo xtask generate-uid -n | wc -c)
test 41 -eq $(cargo xtask generate-uid | wc -c)
fmt:
name: rustfmt
runs-on: ubuntu-20.04
steps:
- uses: actions/[email protected]
- uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt
- run: (cd xtask && cargo fmt --all -- --check)