Skip to content

Commit

Permalink
[general] Use reusable workflows (#247)
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Feb 26, 2024
1 parent 3eafbab commit 17fad76
Show file tree
Hide file tree
Showing 5 changed files with 159 additions and 363 deletions.
363 changes: 0 additions & 363 deletions .github/workflows/ci.yaml

This file was deleted.

31 changes: 31 additions & 0 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: "Code Linting"

on:
pull_request:
paths-ignore:
- "docs/**"
push:
branches:
- "main"
tags:
- v*
schedule:
- cron: "0 8 * * 1" # At 08:00 on Monday

env:
COMPOSER_AUTH: '{"github-oauth": {"github.com": "${{ secrets.ORGANIZATION_ACCESS_TOKEN }}"}}'

jobs:
php:
name: "PHP Lint"

uses: "fastybird/.github/.github/workflows/php-lint.yaml@main"
secrets: inherit
with:
php: "${{ matrix.php-version }}"

strategy:
fail-fast: false
matrix:
php-version: [ "8.2" ]
operating-system: [ "ubuntu-latest" ]

0 comments on commit 17fad76

Please sign in to comment.