Dev -> Main 관리자 사진 추가 기능 및 클래스 app 기능 추가 #103
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: Customk CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
ci: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Check out the codes | |
uses: actions/checkout@v4 | |
- name: Install poetry | |
run: pipx install poetry | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.12' | |
cache: 'poetry' | |
- name: package install | |
run: poetry install | |
- name: Inject .env file | |
run: echo "${{ secrets.ENV_PROD }}" > ./.env | |
- name: Run Lint && Type Check | |
run: | | |
cd customk | |
poetry run ruff check . | |
poetry run mypy . |