Skip to content

Improve output of failed TUI tests #116

Improve output of failed TUI tests

Improve output of failed TUI tests #116

Workflow file for this run

name: Lint
on:
push:
branches-ignore:
- ' '
tags-ignore:
- '*.*.*'
workflow_call:
jobs:
test:
name: Linting
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/detect-and-install-rust-toolchain
with:
components: clippy,rustfmt
- name: Cache BuildIt
uses: actions/cache@v3
continue-on-error: true
with:
path: ./buildit/target
key: buildit-lint-${{ runner.os }}-${{ hashFiles('./buildit') }}
restore-keys: buildit-lint-${{ runner.os }}-${{ hashFiles('./buildit') }}
- name: Check code formatting
run: cargo fmt --manifest-path ./buildit/Cargo.toml -- --check
- name: Lint with Clippy
run: cargo clippy --no-deps --all-features
- name: Check code formatting (BuildIt)
run: cargo fmt -- --check
- name: Lint with Clippy (BuildIt)
run: cargo clippy --manifest-path ./buildit/Cargo.toml --all-features