Skip to content

ci: Add cargo t and cleanup #116

ci: Add cargo t and cleanup

ci: Add cargo t and cleanup #116

Workflow file for this run

# SPDX-FileCopyrightText: 2022 Harish Rajagopal <[email protected]>
#
# SPDX-License-Identifier: CC0-1.0
name: Lint
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
env:
CARGO_TERM_COLOR: always
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install GTK4
run: sudo apt update && sudo apt install libgtk-4-dev build-essential
- run: rustup toolchain install stable --profile minimal
- name: Restore build cache
uses: Swatinem/rust-cache@v2
- run: cargo build --verbose
- run: cargo test --verbose
- name: pre-commit
uses: pre-commit/[email protected]
- uses: pre-commit-ci/[email protected]
if: always()