Skip to content

Commit 2e69390

Browse files
authored
ci: clean up workflow files (#860)
1 parent 49f019c commit 2e69390

File tree

11 files changed

+65
-366
lines changed

11 files changed

+65
-366
lines changed

.github/workflows/coding-conventions.yml

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -6,37 +6,37 @@ on:
66

77
# CSFixer and Rector are temporarily disabled until they have proper PHP 8.4 support
88
jobs:
9-
# check-style:
10-
# name: Run Style Check
11-
# runs-on: ubuntu-latest
12-
# steps:
13-
# - uses: actions/checkout@v4
14-
#
15-
# - name: Setup PHP
16-
# uses: shivammathur/setup-php@v2
17-
# with:
18-
# php-version: 8.4
19-
# coverage: none
20-
#
21-
# - name: Install composer dependencies
22-
# uses: ramsey/composer-install@v3
23-
#
24-
# - name: Run php-cs-fixer
25-
# run: vendor/bin/php-cs-fixer fix --config=.php-cs-fixer.dist.php --allow-risky=yes --dry-run -vvv
26-
# env:
27-
# PHP_CS_FIXER_IGNORE_ENV: true
9+
check-style:
10+
name: Run style check
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v4
14+
15+
# - name: Setup PHP
16+
# uses: shivammathur/setup-php@v2
17+
# with:
18+
# php-version: 8.4
19+
# coverage: none
20+
21+
# - name: Install composer dependencies
22+
# uses: ramsey/composer-install@v3
23+
24+
# - name: Run php-cs-fixer
25+
# run: vendor/bin/php-cs-fixer fix --config=.php-cs-fixer.dist.php --allow-risky=yes --dry-run -vvv
26+
# env:
27+
# PHP_CS_FIXER_IGNORE_ENV: true
2828

2929
- name: Setup Bun
3030
uses: oven-sh/setup-bun@v2
3131

3232
- name: Install dependencies
3333
run: bun install --frozen-lockfile
3434

35-
- name: Run eslint
35+
- name: Run ESLint
3636
run: bun run lint
3737

38-
phpstan:
39-
name: "Run Static Analysis: PHPStan"
38+
phpstan:
39+
name: "Run static analysis: PHPStan"
4040
runs-on: ubuntu-latest
4141
steps:
4242
- uses: actions/checkout@v4
@@ -54,7 +54,7 @@ jobs:
5454
run: vendor/bin/phpstan --error-format=github
5555

5656
# rector:
57-
# name: "Run Static Analysis: Rector"
57+
# name: "Run static analysis: Rector"
5858
# runs-on: ubuntu-latest
5959
#
6060
# steps:
Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ permissions:
77
contents: write
88
id-token: write
99

10-
name: Changelog and release
10+
name: Create a GitHub release
1111

1212
jobs:
1313
release:
@@ -18,18 +18,18 @@ jobs:
1818
with:
1919
fetch-depth: 0
2020

21-
- name: Generate changelog
22-
uses: orhun/git-cliff-action@v4
23-
env:
24-
OUTPUT: CHANGELOG.md
25-
GITHUB_REPO: ${{ github.repository }}
26-
27-
- name: Update changelog
28-
uses: stefanzweifel/git-auto-commit-action@v5
29-
with:
30-
file_pattern: 'CHANGELOG.md'
31-
commit_message: "chore: update changelog"
32-
branch: main
21+
# - name: Generate changelog
22+
# uses: orhun/git-cliff-action@v4
23+
# env:
24+
# OUTPUT: CHANGELOG.md
25+
# GITHUB_REPO: ${{ github.repository }}
26+
27+
# - name: Update changelog
28+
# uses: stefanzweifel/git-auto-commit-action@v5
29+
# with:
30+
# file_pattern: 'CHANGELOG.md'
31+
# commit_message: "chore: update changelog"
32+
# branch: main
3333

3434
- name: Generate release notes
3535
uses: orhun/git-cliff-action@v4

.github/workflows/integration-tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- ubuntu-latest
1919
- windows-latest
2020

21-
name: "Run Tests: ${{ matrix.os }}"
21+
name: "Run tests: ${{ matrix.os }}"
2222

2323
steps:
2424
- name: Checkout code
@@ -61,7 +61,7 @@ jobs:
6161
- prefer-stable
6262
- prefer-lowest
6363

64-
name: "Run Tests: PHP ${{ matrix.php }} - ${{ matrix.database }} - ${{ matrix.stability }} - ${{ matrix.os }}"
64+
name: "Run tests: PHP ${{ matrix.php }} - ${{ matrix.database }} - ${{ matrix.stability }} - ${{ matrix.os }}"
6565

6666
steps:
6767
- name: Checkout code
@@ -96,7 +96,7 @@ jobs:
9696
- name: Set database config - ${{ matrix.database }}
9797
run: php -r "file_exists('tests/Fixtures/Config/database.config.php') || copy('tests/Fixtures/Config/database.${{ matrix.database }}.php', 'tests/Fixtures/Config/database.config.php');"
9898

99-
- name: List Discovered Locations
99+
- name: List discovered locations
100100
run: php ./tempest discovery:status
101101

102102
- name: Execute tests

.github/workflows/isolated-tests.yml

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Isolated Tests
1+
name: Isolated tests
22

33
on:
44
pull_request:
@@ -8,10 +8,10 @@ on:
88

99
jobs:
1010
get_packages:
11-
name: Get Packages
11+
name: Get packages
1212
runs-on: ubuntu-latest
1313
steps:
14-
- name: Set Up PHP
14+
- name: Set up PHP
1515
uses: shivammathur/setup-php@v2
1616
with:
1717
php-version: 8.4
@@ -21,11 +21,11 @@ jobs:
2121
with:
2222
fetch-depth: 2
2323

24-
- name: Get Packages
24+
- name: Get packages
2525
id: get_json
2626
run: echo "json=$(bin/get-packages)" >> $GITHUB_OUTPUT
2727

28-
- name: Output Packages
28+
- name: Output packages
2929
run: echo "${{ steps.get_json.outputs.json }}"
3030
outputs:
3131
matrix: ${{ steps.get_json.outputs.json }}
@@ -44,9 +44,7 @@ jobs:
4444
stability:
4545
- prefer-stable
4646
- prefer-lowest
47-
48-
name: "Run Tests: ${{ matrix.package.name }} - PHP ${{ matrix.php }} - ${{ matrix.stability }}"
49-
47+
name: "Run tests: ${{ matrix.package.name }} - PHP ${{ matrix.php }} - ${{ matrix.stability }}"
5048
steps:
5149
- name: Checkout code
5250
uses: actions/checkout@v4
@@ -73,4 +71,4 @@ jobs:
7371
composer update --${{ matrix.stability }} --prefer-dist --no-interaction
7472
7573
- name: Execute tests
76-
run: phpunit -c "src/Tempest/${{ matrix.package.basename }}/phpunit.xml"
74+
run: phpunit -c "src/Tempest/${{ matrix.package.basename }}/phpunit.xml"

.github/workflows/lint-pr-title.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
with:
1414
fetch-depth: 0
1515

16-
- name: Setup bun
16+
- name: Setup Bun
1717
uses: oven-sh/setup-bun@v2
1818

1919
- name: Install dependencies

.github/workflows/quality-assurance.yml

Lines changed: 0 additions & 154 deletions
This file was deleted.

0 commit comments

Comments
 (0)