Skip to content
This repository was archived by the owner on Dec 2, 2025. It is now read-only.

Commit 19ae436

Browse files
committed
Configure workflows
1 parent a62f56d commit 19ae436

File tree

5 files changed

+60
-96
lines changed

5 files changed

+60
-96
lines changed

.github/security-check.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: "security-check"
2+
3+
on:
4+
pull_request:
5+
schedule:
6+
- cron: '0 12 * * *'
7+
8+
jobs:
9+
security-check:
10+
name: security-check
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Checkout
14+
uses: actions/checkout@v3
15+
- name: The PHP Security Checker
16+
uses: symfonycorp/security-checker-action@v5
17+
id: security-check
18+
with:
19+
lock: composer.lock

.github/workflows/tests.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: 'Tests'
2+
3+
on:
4+
pull_request:
5+
push:
6+
branches:
7+
- main
8+
9+
jobs:
10+
tests:
11+
runs-on: ubuntu-22.04
12+
strategy:
13+
matrix:
14+
check_command: ['lint:composer', 'lint:php', 'phpstan', 'tests:unit', 'tests:integration']
15+
php_version: ['8.1', '8.2']
16+
steps:
17+
- name: Checkout
18+
uses: actions/checkout@v3
19+
20+
- name: Install PHP
21+
uses: shivammathur/setup-php@v2
22+
with:
23+
coverage: 'xdebug'
24+
php-version: ${{ matrix.php_version }}
25+
env:
26+
fail-fast: true
27+
28+
- name: Cache dependencies
29+
uses: actions/cache@v3
30+
with:
31+
path: '~/.cache/composer'
32+
key: "cache-composer-${{ hashFiles('**/app/composer.lock') }}"
33+
restore-keys: 'cache-composer-'
34+
- name: Install dependencies
35+
run: composer install --prefer-dist --no-interaction --no-progress
36+
37+
- name: Run ${{ matrix.check_command }}
38+
run: composer run ${{ matrix.check_command }}

.gitlab-ci.yml

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

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ If you're keen to contribute, follow these steps:
99
Before submitting a bug:
1010

1111
- Review the project documentation.
12-
- Familiarize yourself with the Lexoffice public API documentation.
12+
- Familiarize yourself with the lexoffice public API documentation.
1313
- If you're sure it's a bug, use the official bug tracker and adhere to these guidelines:
1414

1515
1. Use a clear title to describe the issue.

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
# Lexoffice-Bundle for Symfony
1+
# lexoffice-Bundle for Symfony
22

33
## Introduction
44

5-
This bundle integrates the [Lexoffice public API](https://developers.lexoffice.io/docs) into Symfony, utilizing
5+
This bundle integrates the [lexoffice public API](https://developers.lexoffice.io/docs) into Symfony, utilizing
66
Symfony's serializer to convert API responses into objects. Compatible with Symfony 6.4.
77

88
## Installation

0 commit comments

Comments
 (0)