Compare commits

...

20 Commits

Author SHA1 Message Date
b4ff831840 Update .gitea/workflows/laravel.yml
All checks were successful
Laravel / laravel-tests (push) Successful in 4m38s
renovate / renovate (push) Successful in 2m36s
2026-02-03 22:12:48 +00:00
5e3853ae61 Update .gitea/workflows/laravel.yml
Some checks failed
Laravel / laravel-tests (push) Failing after 1s
renovate / renovate (push) Successful in 2m44s
2026-02-03 22:05:19 +00:00
ff218ddcfa Update .gitea/workflows/renovate.yaml
Some checks failed
Laravel / laravel-tests (push) Has started running
renovate / renovate (push) Has been cancelled
2026-02-03 22:04:41 +00:00
07f45530c1 Merge pull request 'Update ghcr.io/renovatebot/renovate Docker tag to v43.2.6' (#580) from renovate/ghcr.io-renovatebot-renovate-43.x into main
All checks were successful
Laravel / laravel-tests (push) Successful in 4m25s
renovate / renovate (push) Successful in 1m0s
2026-02-03 21:51:24 +00:00
Renovate Bot
b80081e616 Update ghcr.io/renovatebot/renovate Docker tag to v43.2.6
All checks were successful
Laravel / laravel-tests (pull_request) Successful in 4m32s
2026-02-03 21:51:18 +00:00
4af6061100 added GitHub token
Some checks failed
Laravel / laravel-tests (push) Successful in 4m32s
renovate / renovate (push) Has been cancelled
2026-02-03 21:46:03 +00:00
10f5799da2 added commit hash to version
All checks were successful
Laravel / laravel-tests (push) Successful in 4m44s
renovate / renovate (push) Successful in 35s
2026-02-03 22:10:56 +10:00
fffcf8347b display version on site
All checks were successful
Laravel / laravel-tests (push) Successful in 5m8s
renovate / renovate (push) Successful in 45s
2026-02-03 21:56:31 +10:00
2b3325af91 Merge pull request 'Update ghcr.io/renovatebot/renovate Docker tag to v43.2.4' (#579) from renovate/ghcr.io-renovatebot-renovate-43.x into main
Some checks failed
Laravel / laravel-tests (push) Has been cancelled
renovate / renovate (push) Has been cancelled
2026-02-03 11:53:31 +00:00
Renovate Bot
c9071a3bef Update ghcr.io/renovatebot/renovate Docker tag to v43.2.4
All checks were successful
Laravel / laravel-tests (pull_request) Successful in 5m24s
2026-02-03 11:53:29 +00:00
3cc06c2465 ignore deploy script
Some checks failed
Laravel / laravel-tests (push) Successful in 5m1s
renovate / renovate (push) Has been cancelled
2026-02-03 21:47:32 +10:00
1243a93020 Merge pull request 'Migrate Renovate config' (#578) from renovate/migrate-config into main
All checks were successful
Laravel / laravel-tests (push) Successful in 4m25s
renovate / renovate (push) Successful in 40s
Reviewed-on: #578
2026-02-03 11:01:18 +00:00
Renovate Bot
78747e1f64 Migrate config renovate.json
All checks were successful
Laravel / laravel-tests (pull_request) Successful in 4m30s
2026-02-03 10:50:20 +00:00
84f08b548e Update .gitea/workflows/laravel.yml
All checks were successful
Laravel / laravel-tests (push) Successful in 4m40s
renovate / renovate (push) Successful in 1m1s
2026-02-03 10:40:15 +00:00
462bce226d Merge pull request 'Update ghcr.io/renovatebot/renovate Docker tag to v43.2.3' (#577) from renovate/ghcr.io-renovatebot-renovate-43.x into main
Some checks failed
Laravel / laravel-tests (push) Has been cancelled
renovate / renovate (push) Has been cancelled
2026-02-03 10:39:57 +00:00
Renovate Bot
2c3ae4ee86 Update ghcr.io/renovatebot/renovate Docker tag to v43.2.3
Some checks failed
Laravel / laravel-tests (pull_request) Failing after 4m41s
2026-02-03 10:39:55 +00:00
f4d6277646 Update .gitea/workflows/laravel.yml
Some checks failed
Laravel / laravel-tests (push) Failing after 4m57s
renovate / renovate (push) Has been cancelled
2026-02-03 10:34:11 +00:00
5e47287593 Update .gitea/workflows/laravel.yml
Some checks failed
Laravel / laravel-tests (push) Failing after 4m44s
renovate / renovate (push) Successful in 42s
2026-02-03 09:31:13 +00:00
dd5eb6782d disable posts
Some checks failed
Laravel / laravel-tests (push) Failing after 5m5s
renovate / renovate (push) Successful in 45s
2026-02-03 19:20:29 +10:00
0312e1dbea Merge pull request 'Update ghcr.io/renovatebot/renovate Docker tag to v43' (#574) from renovate/ghcr.io-renovatebot-renovate-43.x into main
Some checks failed
Laravel / laravel-tests (push) Failing after 6m29s
renovate / renovate (push) Successful in 1m10s
Reviewed-on: #574
2026-02-03 08:54:32 +00:00
7 changed files with 53 additions and 22 deletions

View File

@@ -3,40 +3,55 @@ name: Laravel
on:
push:
branches: ["main"]
pull_request:
jobs:
laravel-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: shivammathur/setup-php@v2
with:
php-version: "8.4"
- uses: actions/checkout@v3
- name: Copy .env
run: php -r "file_exists('.env') || copy('.env.example', '.env');"
- name: Install Dependencies
- name: Install PHP Dependencies
run: composer install -q --no-interaction --no-progress --prefer-dist
- name: Generate key
run: php artisan key:generate
- name: Directory Permissions
run: chmod -R 777 storage bootstrap/cache
- name: Create Database
run: |
mkdir -p database
touch database/database.sqlite
- name: Execute tests (Unit and Feature tests) via PHPUnit
- name: Install Node.js
uses: actions/setup-node@v2
with:
node-version: "20"
- name: Install Node dependencies
run: npm ci
- name: Build frontend
run: npm run build
- name: Run migrations
env:
DB_CONNECTION: sqlite
DB_DATABASE: database/database.sqlite
run: php artisan migrate --force
- name: Run PHPUnit
env:
DB_CONNECTION: sqlite
DB_DATABASE: database/database.sqlite
run: vendor/bin/phpunit
- name: Install Node.js
uses: actions/setup-node@v2
with:
node-version: "16.x"
- name: Install dependencies
run: npm ci
- name: Run Vue tests
env:
LARAVEL_BYPASS_ENV_CHECK: "1"
run: npm run test

View File

@@ -11,7 +11,7 @@ on:
jobs:
renovate:
runs-on: ubuntu-latest
container: ghcr.io/renovatebot/renovate:43.2.1
container: ghcr.io/renovatebot/renovate:43.2.6
steps:
- uses: actions/checkout@v4
@@ -21,4 +21,5 @@ jobs:
RENOVATE_CONFIG_FILE: "renovate-config.json"
LOG_LEVEL: "info"
RENOVATE_TOKEN: ${{ secrets.RENOVATE_TOKEN }}
GITHUB_COM_TOKEN: ${{ secrets.RENOVATE_GITHUB_TOKEN }}

2
.gitignore vendored
View File

@@ -260,3 +260,5 @@ phpcbf.phar
### PHPStorm ###
.idea/
### Deployment ###
/deploy.sh

View File

@@ -9,11 +9,11 @@ class HomeController extends Controller
{
public function index()
{
$posts = Post::query()->orderBy('created_at', 'desc')->limit(4)->get();
// $posts = Post::query()->orderBy('created_at', 'desc')->limit(4)->get();
$workshops = Workshop::query()->where('starts_at', '>', now())->where('status', '!=', 'private')->orderBy('starts_at', 'asc')->limit(4)->get();
return view('home', [
'posts' => $posts,
// 'posts' => $posts,
'workshops' => $workshops,
]);
}

View File

@@ -123,5 +123,7 @@ return [
'store' => env('APP_MAINTENANCE_STORE', 'database'),
],
'notice' => env('APP_NOTICE', '')
'notice' => env('APP_NOTICE', ''),
'version' => env('APP_VERSION', 'dev'),
'commit' => env('APP_COMMIT', ''),
];

View File

@@ -1,11 +1,11 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:base"
"config:recommended"
],
"automerge": true,
"platformAutomerge": true,
"requiredStatusChecks": null,
"ignoreTests": true,
"packageRules": [
{
"matchUpdateTypes": [

View File

@@ -2,7 +2,9 @@
<section class="flex flex-col sm:flex-row gap-8 sm:gap-4 mb-12">
<div class="text-center sm:text-left sm:w-2/3 text-sm self-center sm:pr-8">STEMMechanics Australia acknowledges the Traditional Owners of Country throughout Australia and the continuing connection to land, cultures and communities. We pay our respect to Aboriginal and Torres Strait Islander cultures; and to Elders both past, present and emerging.</div>
<ul class="sm:w-1/3 flex flex-col gap-0.5 text-center sm:text-left">
<li><h3 class="font-bold mb-2">Community</h3></li>
<li>
<h3 class="font-bold mb-2">Community</h3>
</li>
<li><a href="https://github.com/stemmechanics" class="text-sm hover:text-primary-color">GitHub</a></li>
<li><a href="https://discord.gg/yNzk4x7mpD" class="text-sm hover:text-primary-color">Discord</a></li>
<li><a href="https://www.facebook.com/stemmechanics" class="text-sm hover:text-primary-color">Facebook</a></li>
@@ -11,7 +13,9 @@
<li><a href="https://youtube.com/@STEMMechanics" class="text-sm hover:text-primary-color">YouTube</a></li>
</ul>
<ul class="sm:w-1/3 flex flex-col gap-0.5 text-center sm:text-left">
<li><h3 class="font-bold mb-2">STEMMechanics</h3></li>
<li>
<h3 class="font-bold mb-2">STEMMechanics</h3>
</li>
<li><a href="{{ route('about') }}" class="text-sm hover:text-primary-color">About</a></li>
<li><a href="{{ route('contact') }}" class="text-sm hover:text-primary-color">Contact Us</a></li>
<li><a href="{{ route('code-of-conduct') }}" class="text-sm hover:text-primary-color">Code of Conduct</a></li>
@@ -21,6 +25,13 @@
</section>
<section class="border-t border-t-gray-600 pt-8 flex justify-between text-xs items-center flex-col sm:flex-row">
<div class="mb-3 sm:mb-0">@includeSVG('logo.svg', 'width:10rem;margin-top:-0.2rem;color:#DDD')</div>
<div>Made with ❤️&nbsp;© {{ date('Y') }} STEMMechanics</div>
@php $commit = config('app.commit'); @endphp
<div>
Made with ❤️&nbsp;© {{ date('Y') }} STEMMechanics
v{{ config('app.version') }}
@if(!empty($commit))
({{ substr($commit, 0, 10) }})
@endif
</div>
</section>
</footer>