Skip to content

feat: save after copy #26

feat: save after copy

feat: save after copy #26

Workflow file for this run

name: lint
on:
push:
branches:
- main
pull_request:
branches:
- main
env:
CARGO_TERM_COLOR: always
jobs:
fmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
with:
targets: x86_64-unknown-linux-gnu
- uses: Swatinem/rust-cache@v2
- run: cargo fmt --check
env:
RUSTFLAGS: "-Dwarnings"
lint:
runs-on: ubuntu-latest
container:
image: ghcr.io/gtk-rs/gtk4-rs/gtk4:latest
steps:
- name: Install dependencies
run: yum install -y gtk4-devel libadwaita-devel
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
with:
targets: x86_64-unknown-linux-gnu
components: clippy
- uses: Swatinem/rust-cache@v2
- run: |
cargo clippy --all-features --all-targets \
-- -D warnings
doc:
runs-on: ubuntu-latest
container:
image: ghcr.io/gtk-rs/gtk4-rs/gtk4:latest
steps:
- name: Install dependencies
run: yum install -y gtk4-devel libadwaita-devel
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
- run: cargo install cargo-deadlinks
- run: cargo deadlinks
- run: cargo doc --all-features --no-deps
env:
RUSTDOCFLAGS: -Dwarnings