зеркало из
https://github.com/glebtv/tui-textarea.git
synced 2026-09-08 00:15:50 +03:00
prepare CI workflow
Этот коммит содержится в:
19
.github/workflows/ci.yml
поставляемый
Обычный файл
19
.github/workflows/ci.yml
поставляемый
Обычный файл
@@ -0,0 +1,19 @@
|
|||||||
|
name: CI
|
||||||
|
on: [push, pull_request]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
lint:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
- uses: actions-rs/toolchain@v1
|
||||||
|
with:
|
||||||
|
profile: minimal
|
||||||
|
toolchain: stable
|
||||||
|
components: rustfmt, clippy
|
||||||
|
override: true
|
||||||
|
- uses: Swatinem/rust-cache@v1
|
||||||
|
- name: rustfmt
|
||||||
|
run: cargo fmt -- --check --color always
|
||||||
|
# - name: clippy
|
||||||
|
# run: cargo clippy --color always -- -D warnings
|
||||||
Ссылка в новой задаче
Block a user