New: initial functionality

This commit is contained in:
Pavel Perestoronin committed 2022-12-02 23:56:42 +01:00
1 parent 31b3c21b65
commit 3e5ad63679
19 files changed
+309 -1

No files matched your search

+51
View File
@@ -0,0 +1,51 @@
name: Check
on:
push:
branches:
- main
pull_request:
branches:
- main
permissions:
checks: write
env:
CARGO_TERM_COLOR: always
jobs:
check:
name: Check
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up the toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
components: rustfmt, clippy
- name: Rust Cache
uses: Swatinem/rust-cache@v1
with:
cache-on-failure: true
- name: Test
uses: actions-rs/cargo@v1
with:
command: test
args: --doc
- name: Clippy
uses: actions-rs/clippy-check@v1
continue-on-error: true
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --all-targets --all-features --tests -- -D warnings