Skip to content

Commit 03d4288

Browse files
abenevautCopilot
andauthored
feat(laravel-google-maps-client): initial commit (#378)
* feat(laravel-google-maps): initial commit * Update laravel-google-maps/src/Providers/GoogleMapsServiceProvider.php Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update laravel-google-maps/composer.json Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update laravel-google-maps/README.md Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * update readme and add scope * move to correct directory * fix pipeline --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 8f86658 commit 03d4288

22 files changed

+381
-0
lines changed
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
name: laravel-google-maps-client-release
2+
3+
on:
4+
push:
5+
tags:
6+
- laravel-google-maps-client-*
7+
8+
defaults:
9+
run:
10+
working-directory: ./laravel-google-maps-client
11+
12+
jobs:
13+
14+
release:
15+
runs-on: ubuntu-latest
16+
environment:
17+
name: laravel-google-maps-client
18+
url: https://github.com/abenevaut/laravel-google-maps-client
19+
concurrency:
20+
group: laravel-google-maps-client-release-${{ github.workflow }}-${{ github.ref }}
21+
cancel-in-progress: false
22+
steps:
23+
24+
- name: Checkout project
25+
uses: actions/checkout@v4
26+
with:
27+
fetch-depth: 1
28+
29+
- name: Get current release tag
30+
id: branch-name
31+
run: echo "SOURCE_TAG=${GITHUB_REF#refs/tags/laravel-google-maps-client-}" >> $GITHUB_OUTPUT
32+
33+
- name: Publish to readonly repository abenevaut/laravel-google-maps-client
34+
uses: s0/git-publish-subdir-action@develop
35+
env:
36+
REPO: git@github.com:abenevaut/laravel-google-maps-client.git
37+
BRANCH: master
38+
FOLDER: laravel-google-maps-client
39+
SSH_PRIVATE_KEY: ${{ secrets.PRIVATE_KEY_LARAVEL_GOOGLE_MAPS_CLIENT }}
40+
TAG: ${{ steps.branch-name.outputs.SOURCE_TAG }}
Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
name: laravel-google-maps-client-test
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
paths:
7+
- 'laravel-google-maps-client/**'
8+
pull_request:
9+
branches: [ master ]
10+
paths:
11+
- 'laravel-google-maps-client/**'
12+
13+
defaults:
14+
run:
15+
working-directory: ./laravel-google-maps-client
16+
17+
jobs:
18+
19+
test:
20+
runs-on: ubuntu-latest
21+
strategy:
22+
fail-fast: true
23+
matrix:
24+
php_version: [ 83, 84 ]
25+
include:
26+
- php_version: 83
27+
record_coverage: false
28+
- php_version: 84
29+
record_coverage: false
30+
concurrency:
31+
group: laravel-google-maps-client-test-${{ github.workflow }}-${{ github.ref }}-${{ matrix.php_version }}
32+
cancel-in-progress: true
33+
container:
34+
image: ghcr.io/abenevaut/vapor-ci:php${{ matrix.php_version }}
35+
env:
36+
php_xdebug_log: /var/task/xdebug-errors.log
37+
steps:
38+
39+
- name: Checkout project
40+
uses: actions/checkout@v4
41+
with:
42+
fetch-depth: 2
43+
44+
- name: Composer install
45+
run: composer install -o --no-interaction --prefer-dist
46+
47+
- name: Run tests
48+
run: |
49+
vendor/bin/phpstan analyse
50+
vendor/bin/phpcs --standard=PSR12 src
51+
52+
- name: Send coverage
53+
if: ${{ matrix.record_coverage }}
54+
run: codecov -Z -f coverage/clover.xml -F laravel-google-maps-client
55+
env:
56+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

.idea/scopes/laravel_google_maps.xml

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
.gitattributes export-ignore
2+
.gitignore export-ignore
3+
.travis.yml export-ignore
4+
CHANGELOG.md export-ignore
5+
CONTRIBUTING.md export-ignore
6+
phpunit.xml export-ignore
7+
README.md export-ignore
8+
tests export-ignore
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* @abenevaut
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
Be free to fork this project.
2+
All inspired code or re-used code have to be licensed to GNU GPLv3.
3+
No contribution is accepted on this READ ONLY repository. Please contribute on https://github.com/abenevaut/opensource.
4+
5+
Roadmap: https://github.com/users/abenevaut/projects/14
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
No contribution is accepted on this READ ONLY repository. Please contribute on https://github.com/abenevaut/opensource.
2+
3+
Roadmap: https://github.com/users/abenevaut/projects/14
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
| Q | A |
2+
| :--- | :---: |
3+
| Do you experience this problem multiple times? | Yes / No |
4+
5+
## How to reproduce it ?
6+
7+
Explain here how to reproduce it ?
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
No contribution is accepted on this READ ONLY repository. Please contribute on https://github.com/abenevaut/opensource.
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
name: Close PR
2+
3+
on:
4+
pull_request_target:
5+
types: [opened]
6+
7+
jobs:
8+
run:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: superbrothers/close-pull-request@v3
12+
with:
13+
comment: "No contribution is accepted on this READ ONLY repository. Please contribute on https://github.com/abenevaut/opensource."

0 commit comments

Comments
 (0)