ui: display: display a background image on all screens #96
Workflow file for this run
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: tacd | |
on: | |
pull_request: | |
paths-ignore: | |
- 'web/**' | |
push: | |
branches: | |
- main | |
env: | |
# Make sure cargo commands not only fail on hard errors but also on warnings | |
# so we do not accidentially miss newly introduced warnings. | |
RUSTFLAGS: -D warnings | |
jobs: | |
check: | |
strategy: | |
matrix: | |
features: | |
- "" | |
- "--features=demo_mode --no-default-features" | |
- "--tests" | |
name: cargo check | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- run: sudo apt update | |
- run: sudo apt install libsystemd-dev libiio-dev | |
- uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
toolchain: stable | |
override: true | |
- uses: Swatinem/rust-cache@v2 | |
- uses: actions-rs/cargo@v1 | |
with: | |
command: check | |
args: ${{ matrix.features }} | |
fmt: | |
name: cargo fmt | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
toolchain: stable | |
components: rustfmt | |
override: true | |
- uses: actions-rs/cargo@v1 | |
with: | |
command: fmt | |
args: --all -- --check | |
clippy: | |
strategy: | |
matrix: | |
features: | |
- "" | |
- "--features=demo_mode --no-default-features" | |
- "--tests" | |
name: cargo clippy | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- run: sudo apt update | |
- run: sudo apt install libsystemd-dev libiio-dev | |
- uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
components: clippy | |
override: true | |
- uses: Swatinem/rust-cache@v2 | |
- uses: actions-rs/clippy-check@v1 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
args: ${{ matrix.features }} | |
name: Clippy Output | |
deny: | |
name: cargo deny | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: EmbarkStudios/cargo-deny-action@v1 | |
test: | |
name: cargo test | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- run: sudo apt update | |
- run: sudo apt install libsystemd-dev libiio-dev | |
- uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
toolchain: stable | |
override: true | |
- uses: Swatinem/rust-cache@v2 | |
- uses: actions-rs/cargo@v1 | |
with: | |
command: test |