Skip to content

Commit ae429db

Browse files
authored
Merge pull request #108 from tighten/adc/update-tests
[2.x] Update GH action PHP matrix
2 parents e5f5c5c + e0cffa9 commit ae429db

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.github/workflows/tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: tests
22

33
on:
44
push:
5-
branches: [ main ]
5+
branches: [ 2.x ]
66
pull_request:
77

88
jobs:
@@ -13,7 +13,7 @@ jobs:
1313
fail-fast: true
1414
matrix:
1515
os: [ubuntu-22.04, windows-2019]
16-
php: ['8.0', 8.1, 8.2]
16+
php: [8.1, 8.2]
1717

1818
name: PHP ${{ matrix.php }} - ${{ matrix.os }}
1919

@@ -46,7 +46,7 @@ jobs:
4646

4747
- name: Run PHPStan
4848
run: vendor/bin/phpstan
49-
if: matrix.php == '8.1'
49+
if: matrix.php == '8.2'
5050

5151
- name: Run Pest
5252
run: vendor/bin/pest

RELEASE.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# Release Instructions
22

33
1. Visit the [Duster Releases page](https://github.com/tighten/duster/releases); figure out what your next tag will be (increase the third number if it's a patch or fix; increase the second number if it's adding features)
4-
2. On your local machine, pull down the latest changes on the `main` branch (`git checkout main && git pull`)
4+
2. On your local machine, pull down the latest changes on the `2.x` branch (`git checkout 2.x && git pull`)
55
3. Update the version in [`config/app.php`](./config/app.php)
66
4. Update dependencies and remove dev dependencies by running `composer update`
7-
5. Compile the binary with (run on PHP < `8.2`)
7+
5. Compile the binary
88

99
```zsh
1010
./duster app:build
@@ -13,5 +13,5 @@
1313
6. Run the build once to make sure it works (`./builds/duster`)
1414
7. Commit all changes
1515
8. Push all commits to GitHub
16-
9. [Draft a new release](https://github.com/tighten/duster/releases/new) with both the tag version and title of your tag (e.g. `v1.5.1`)
16+
9. [Draft a new release](https://github.com/tighten/duster/releases/new) with both the tag version and title of your tag (e.g. `v2.5.1`)
1717
10. Use the "Generate release notes" button to generate release notes from the merged PRs.

builds/duster

-6 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)