Skip to content

Commit d985ddc

Browse files
Update code-style.yml
1 parent f3c1c89 commit d985ddc

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/code-style.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -35,15 +35,15 @@ jobs:
3535
run: codestyle pint 8.2
3636

3737
- name: Normalize composer.json
38-
if: ${{ env.CAN_FIX }} == 'true'
38+
if: ${{ env.CAN_FIX == true }}
3939
run: composer normalize
4040

4141
- name: Fix PHP code-style
42-
if: ${{ env.CAN_FIX }} == 'true'
42+
if: ${{ env.CAN_FIX == true }}
4343
run: pint --parallel
4444

45-
- name: Check PHP code-style
46-
if: ${{ env.CAN_FIX }} == 'false'
45+
- name: Code-style
46+
if: ${{ env.CAN_FIX == false }}
4747
run: pint --parallel --test
4848

4949
node:
@@ -86,19 +86,19 @@ jobs:
8686
run: codestyle npm
8787

8888
- name: Node code-style
89-
if: ${{ env.CAN_FIX }} == 'true'
89+
if: ${{ env.CAN_FIX == true }}
9090
run: |
9191
npx @biomejs/biome lint --write
9292
npx @biomejs/biome format --write
9393
9494
- name: Node code-style
95-
if: ${{ env.CAN_FIX }} == 'false'
95+
if: ${{ env.CAN_FIX == false }}
9696
run: |
9797
npx @biomejs/biome lint
9898
npx @biomejs/biome format
9999
100100
- name: Remove node_modules
101-
if: ${{ env.CAN_FIX }} == 'true'
101+
if: ${{ env.CAN_FIX == true }}
102102
run: rm -rf node_modules
103103

104104
- name: Remove package.json

0 commit comments

Comments
 (0)