Skip to content

v15: Add sensor.lastchange #58

v15: Add sensor.lastchange

v15: Add sensor.lastchange #58

Workflow file for this run

name: CI
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build_and_test:
runs-on: ubuntu-22.04
container: rust:1.75
steps:
- uses: actions/checkout@v4
- run: cargo build
- run: cargo test
lint:
runs-on: ubuntu-22.04
container: rust:1.78
steps:
- uses: actions/checkout@v4
- run: rustup component add clippy
- run: cargo clippy --all-targets --all-features -- -D warnings
fmt:
runs-on: ubuntu-22.04
container: rust:1.78
steps:
- uses: actions/checkout@v4
- run: rustup component add rustfmt
- run: cargo fmt -- --check