Compare commits

..

2 Commits

Author SHA1 Message Date
Saufi
d50c2b88f4 test webhook
Some checks failed
CI / Tests (PHP 8.5) (push) Has been cancelled
2026-05-12 16:11:12 +08:00
Saufi
f560ec479c pipeline 2026-05-11 16:25:14 +08:00
2 changed files with 48 additions and 0 deletions

47
.gitea/workflows/ci.yml Normal file
View File

@@ -0,0 +1,47 @@
name: CI
on:
push:
branches:
- '**'
pull_request:
branches:
- '**'
jobs:
test:
name: Tests (PHP 8.5)
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.5'
extensions: mbstring, dom, curl, sqlite3, pdo_sqlite
coverage: none
- name: Cache Composer packages
uses: actions/cache@v4
with:
path: vendor
key: composer-${{ hashFiles('composer.lock') }}
restore-keys: composer-
- name: Install Composer dependencies
run: composer install --no-interaction --prefer-dist --optimize-autoloader
- name: Copy environment file
run: cp .env.example .env
- name: Generate application key
run: php artisan key:generate
- name: Check code style
run: vendor/bin/pint --test --format github
- name: Run tests
run: php artisan test --compact

View File

@@ -49,6 +49,7 @@
</header> </header>
<h1 class="text-5xl text-center">BELAJAR GIT COURSE</h1> <h1 class="text-5xl text-center">BELAJAR GIT COURSE</h1>
<h3>GIT webhook</h3>
<div class="flex items-center justify-center w-full transition-opacity opacity-100 duration-750 lg:grow starting:opacity-0"> <div class="flex items-center justify-center w-full transition-opacity opacity-100 duration-750 lg:grow starting:opacity-0">
<main class="flex max-w-[335px] w-full flex-col-reverse lg:max-w-4xl lg:flex-row"> <main class="flex max-w-[335px] w-full flex-col-reverse lg:max-w-4xl lg:flex-row">