Skip to content

refactor: 重构项目,支持获取window截图 #49

refactor: 重构项目,支持获取window截图

refactor: 重构项目,支持获取window截图 #49

Workflow file for this run

name: Lint
on:
push:
branches:
- master
tags-ignore:
- "**"
pull_request: null
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
lint:
strategy:
fail-fast: false
matrix:
host:
- macos-latest
- windows-latest
- ubuntu-latest
name: Lint on ${{ matrix.host }}
runs-on: ${{ matrix.host }}
steps:
- uses: actions/checkout@v3
- name: Install rust toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
components: rustfmt, clippy
- name: Cargo fmt
run: cargo fmt -- --check
- name: Clippy
run: cargo clippy
- name: Test
run: cargo test