Skip to content

Commit

Permalink
💚 ci: try to fix ci cache
Browse files Browse the repository at this point in the history
  • Loading branch information
SigureMo committed Dec 20, 2022
1 parent ca1e7c1 commit fa1da14
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lint-and-fmt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
- name: Install dependencies
if: steps.poetry-cache.outputs.cache-hit != 'true'
run: |
just install
just ci-install
- name: lint
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/unit-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
- name: Install dependencies
if: steps.poetry-cache.outputs.cache-hit != 'true'
run: |
just install
just ci-install
- name: unit test
run: |
Expand Down
3 changes: 3 additions & 0 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,9 @@ clean-builds:
rm -rf dist/
rm -rf yutto.egg-info/

ci-install:
poetry install --no-interaction --no-root

ci-fmt-check:
poetry run isort --check-only .
poetry run black --check --diff .
Expand Down

0 comments on commit fa1da14

Please sign in to comment.