mirror of
https://github.com/ivuorinen/actions.git
synced 2026-03-21 08:01:18 +00:00
fix(pr-lint): add missing shell definitions (#103)
This commit is contained in:
@@ -52,6 +52,7 @@ runs:
|
|||||||
|
|
||||||
- name: Install Node.js dependencies
|
- name: Install Node.js dependencies
|
||||||
if: steps.detect-node.outputs.found == 'true'
|
if: steps.detect-node.outputs.found == 'true'
|
||||||
|
shell: bash
|
||||||
run: npm ci
|
run: npm ci
|
||||||
|
|
||||||
# PHP tests if composer.json exists
|
# PHP tests if composer.json exists
|
||||||
@@ -74,10 +75,12 @@ runs:
|
|||||||
|
|
||||||
- name: Setup problem matchers for PHP
|
- name: Setup problem matchers for PHP
|
||||||
if: steps.detect-php.outputs.found == 'true'
|
if: steps.detect-php.outputs.found == 'true'
|
||||||
|
shell: bash
|
||||||
run: echo "::add-matcher::${{ runner.tool_cache }}/php.json"
|
run: echo "::add-matcher::${{ runner.tool_cache }}/php.json"
|
||||||
|
|
||||||
- name: Install PHP dependencies
|
- name: Install PHP dependencies
|
||||||
if: steps.detect-php.outputs.found == 'true'
|
if: steps.detect-php.outputs.found == 'true'
|
||||||
|
shell: bash
|
||||||
run: composer install --no-progress --prefer-dist --no-interaction
|
run: composer install --no-progress --prefer-dist --no-interaction
|
||||||
|
|
||||||
# Python tests if requirements.txt exists
|
# Python tests if requirements.txt exists
|
||||||
@@ -97,6 +100,7 @@ runs:
|
|||||||
|
|
||||||
- name: Install Python dependencies
|
- name: Install Python dependencies
|
||||||
if: steps.detect-python.outputs.found == 'true'
|
if: steps.detect-python.outputs.found == 'true'
|
||||||
|
shell: bash
|
||||||
run: pip install -r requirements.txt
|
run: pip install -r requirements.txt
|
||||||
|
|
||||||
# Go tests if go.mod exists
|
# Go tests if go.mod exists
|
||||||
|
|||||||
Reference in New Issue
Block a user