feat!: add frontend(tauri) & move current to core_lib #20
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Lint | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
# cancel ongoing jobs: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
style: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
include: | |
- directory: ./core_lib | |
- directory: ./frontend/src-tauri | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: dtolnay/rust-toolchain@stable | |
- uses: Swatinem/rust-cache@v2 | |
- run: | | |
cd ${{ matrix.directory }} | |
cargo fmt --all --check |