#414 Define a schema for project duplicate checks (#424) #560
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: Code format check with Ruff | |
on: | |
pull_request: | |
branches: | |
- develop | |
- add-backend-server | |
types: [opened, synchronize, labeled, unlabeled] | |
push: | |
branches: | |
- develop | |
- add-backend-server | |
jobs: | |
ruff: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
ref: ${{ github.event.pull_request.head.ref }} | |
repository: ${{ github.event.pull_request.head.repo.full_name }} | |
- name: Ruff for netspresso | |
uses: chartboost/ruff-action@v1 | |
with: | |
src: "./netspresso" | |
version: 0.0.259 | |
- name: Ruff for backend | |
uses: chartboost/ruff-action@v1 | |
with: | |
src: "./app" | |
version: 0.0.259 |