Skip to content

Sfs/update readme

Sfs/update readme #156

name: pull-request-checks.yml
on:
pull_request:
branches:
- main
jobs:
quality-ensurance:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Cache
uses: actions/cache@v4
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-cargo-check-${{ hashFiles('**/Cargo.lock') }}
- uses: ./.github/actions/toolchain
with:
dioxus-version: '0.7.3'
- uses: giraffate/clippy-action@v1
with:
reporter: 'github-pr-check'
github_token: ${{ secrets.GITHUB_TOKEN }}
clippy_flags: --all-targets --all-features -- -Dwarnings
fail_on_error: true
- name: Formatting
if: success() || failure()
run: ./scripts/format.sh