Skip to content

Commit

Permalink
Speed up Hatch installation (#282)
Browse files Browse the repository at this point in the history
  • Loading branch information
ofek committed May 22, 2024
1 parent 5ec69d8 commit 12cc712
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ jobs:
file_handler.write("FORCE_COLOR=1\n")
file_handler.write(f"ENV={py}\n")
shell: python
- name: Install hatch
run: python -m pip install hatch
- name: Install Hatch
uses: pypa/hatch@install
- uses: actions/checkout@v4
with:
fetch-depth: 0
Expand Down Expand Up @@ -91,8 +91,8 @@ jobs:
python-version: "3.12"
- name: Let us have colors
run: echo "FORCE_COLOR=true" >> "$GITHUB_ENV"
- name: Install hatch
run: python -m pip install hatch
- name: Install Hatch
uses: pypa/hatch@install
- name: Setup coverage tool
run: |
hatch -v env create coverage
Expand Down Expand Up @@ -133,8 +133,8 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install hatch
run: python -m pip install hatch
- name: Install Hatch
uses: pypa/hatch@install
- name: Setup ${{ matrix.env.name }}
run: |
hatch -v env create ${{ matrix.env.name }}
Expand Down

0 comments on commit 12cc712

Please sign in to comment.