Skip to content

Commit 3326a75

Browse files
committed
ci(workflows): no need to specify bash here
* as image contains the `time` command
1 parent e8d00c7 commit 3326a75

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,10 @@ jobs:
4646
restore-keys: |
4747
${{ env.CI_CACHE_ID }}|
4848
- name: Build cache
49-
shell: bash
5049
run: |
5150
pre-commit gc
52-
echo "Installing hook environments"
53-
time pre-commit install-hooks
51+
echo "Installing hook environments..."
52+
time -f "Hook installation took %E" pre-commit install-hooks
5453
- name: Run `pre-commit`
5554
run: |
5655
pre-commit run --all-files --color always --verbose

0 commit comments

Comments
 (0)