Skip to content

Commit 9ceef91

Browse files
committed
github actions
1 parent c150810 commit 9ceef91

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: build-release
2+
on:
3+
push:
4+
branches:
5+
- main
6+
7+
jobs:
8+
build:
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- name: Repo checkout
13+
uses: actions/checkout@v4
14+
15+
- name: Composer install
16+
uses: php-actions/composer@v6
17+
18+
- name: PHPStan check
19+
uses: php-actions/phpstan@v3
20+
with:
21+
path: src/
22+
23+
- name: Bump version and push tag
24+
id: bump
25+
uses: hennejg/[email protected]
26+
with:
27+
github_token: ${{ secrets.GITHUB_TOKEN }}
28+
release_branches: main
29+
30+
- uses: ncipollo/release-action@v1
31+
with:
32+
tag: ${{ steps.bump.outputs.new_tag }}
33+
generateReleaseNotes: true

0 commit comments

Comments
 (0)