Skip to content

Commit

Permalink
Set default shell in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
sujuka99 committed Apr 12, 2024
1 parent 3179a62 commit 44cbfa2
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ on:
- main
workflow_dispatch:

defaults:
run:
shell: bash

jobs:
test:
name: Test
Expand Down Expand Up @@ -38,7 +42,6 @@ jobs:
run: poetry install --no-interaction

- name: Lint (ruff)
shell: bash
run: |
if [[ "$RUNNER_OS" == "Linux" && "${{ matrix.python-version }}" == "3.10" ]]
then
Expand All @@ -52,7 +55,6 @@ jobs:
run: poetry run pre-commit run ruff-format --all-files --show-diff-on-failure

- name: Typing (pyright)
shell: bash
run: |
if [[ "$RUNNER_OS" == "Linux" && "${{ matrix.python-version }}" == "3.10" ]]
then
Expand Down

0 comments on commit 44cbfa2

Please sign in to comment.