Use the simpler readable() call which works for ESP IDF too #322
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CITLVTool | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
schedule: | |
- cron: "20 7 * * *" | |
workflow_dispatch: | |
env: | |
RUST_TOOLCHAIN: stable | |
CARGO_TERM_COLOR: always | |
jobs: | |
build_tlv_tool: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Rust | |
uses: dtolnay/rust-toolchain@v1 | |
with: | |
toolchain: ${{ env.RUST_TOOLCHAIN }} | |
components: rustfmt, clippy, rust-src | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Fmt | |
run: cargo fmt -- --check | |
working-directory: tools/tlv | |
- name: Clippy | |
run: cargo clippy --no-deps -- -Dwarnings | |
working-directory: tools/tlv | |
- name: Build | |
run: cargo build | |
working-directory: tools/tlv | |
- name: Archive artifacts | |
uses: actions/upload-artifact@v2 | |
with: | |
name: tlv | |
path: tools/tlv/target/debug/tlv |