Skip to content

Commit

Permalink
Configure workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
4d4ch4u32 committed May 24, 2024
1 parent a62f56d commit 19ae436
Show file tree
Hide file tree
Showing 5 changed files with 60 additions and 96 deletions.
19 changes: 19 additions & 0 deletions .github/security-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: "security-check"

on:
pull_request:
schedule:
- cron: '0 12 * * *'

jobs:
security-check:
name: security-check
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: The PHP Security Checker
uses: symfonycorp/security-checker-action@v5
id: security-check
with:
lock: composer.lock
38 changes: 38 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: 'Tests'

on:
pull_request:
push:
branches:
- main

jobs:
tests:
runs-on: ubuntu-22.04
strategy:
matrix:
check_command: ['lint:composer', 'lint:php', 'phpstan', 'tests:unit', 'tests:integration']
php_version: ['8.1', '8.2']
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Install PHP
uses: shivammathur/setup-php@v2
with:
coverage: 'xdebug'
php-version: ${{ matrix.php_version }}
env:
fail-fast: true

- name: Cache dependencies
uses: actions/cache@v3
with:
path: '~/.cache/composer'
key: "cache-composer-${{ hashFiles('**/app/composer.lock') }}"
restore-keys: 'cache-composer-'
- name: Install dependencies
run: composer install --prefer-dist --no-interaction --no-progress

- name: Run ${{ matrix.check_command }}
run: composer run ${{ matrix.check_command }}
93 changes: 0 additions & 93 deletions .gitlab-ci.yml

This file was deleted.

2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ If you're keen to contribute, follow these steps:
Before submitting a bug:

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

1. Use a clear title to describe the issue.
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Lexoffice-Bundle for Symfony
# lexoffice-Bundle for Symfony

## Introduction

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

## Installation
Expand Down

0 comments on commit 19ae436

Please sign in to comment.