Skip to content

Commit

Permalink
- April 2024 batch update (#89)
Browse files Browse the repository at this point in the history
  • Loading branch information
dependabot[bot] authored Apr 18, 2024
1 parent 97c5481 commit 4f10432
Show file tree
Hide file tree
Showing 31 changed files with 1,426 additions and 992 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/deploy-to-beta-by-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,25 +37,25 @@ jobs:
run: echo "DEPLOYMENT_PROJECT_VERSION=$(bash ./environment/prod/deployment/scripts/version.sh --long)" >> $GITHUB_ENV

- name: set up Docker Buildx
uses: docker/setup-buildx-action@v3
uses: docker/setup-buildx-action@v3.3.0

- name: login to GitHub Container Registry
uses: docker/login-action@v3
uses: docker/login-action@v3.1.0
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ github.token }}

- name: Docker meta
id: meta
uses: docker/metadata-action@v5.3.0
uses: docker/metadata-action@v5.5.1
with:
images: ghcr.io/${{ github.repository_owner }}/${{ env.REPO_NAME }}
tags: type=raw,value=beta
context: git

- name: build and push image
uses: docker/build-push-action@v5.1.0
uses: docker/build-push-action@v5.3.0
with:
context: .
file: ./environment/prod/app/Dockerfile
Expand All @@ -67,7 +67,7 @@ jobs:
cache-to: type=gha, ref=ghcr.io/${{ github.repository_owner }}/${{ env.REPO_NAME }}-beta-build-cache, mode=max

- name: copy files via ssh
uses: appleboy/[email protected].4
uses: appleboy/[email protected].7
with:
timeout: 10s
command_timeout: 10m
Expand All @@ -81,7 +81,7 @@ jobs:
rm: true

- name: run deployment script over ssh
uses: appleboy/[email protected].0
uses: appleboy/[email protected].3
with:
timeout: 10s
command_timeout: 10m
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-and-lint-js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@ jobs:
- uses: actions/[email protected]

- name: Cache dependencies
uses: actions/cache@v3.3.2
uses: actions/cache@v4.0.2
with:
path: node_modules
key: ${{ runner.os }}-npm-dependencies-${{ hashFiles('package.lock') }}
restore-keys: ${{ runner.os }}-npm-dependencies

- name: Set up node
uses: actions/[email protected].0
uses: actions/[email protected].2
with:
node-version: 20

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-and-lint-php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,14 @@ jobs:
run: composer validate

- name: Cache dependencies
uses: actions/cache@v3.3.2
uses: actions/cache@v4.0.2
with:
path: vendor
key: ${{ runner.os }}-composer-dependencies-${{ hashFiles('composer.lock') }}
restore-keys: ${{ runner.os }}-composer-dependencies

- name: Setup PHP
uses: shivammathur/setup-php@2.28.0
uses: shivammathur/setup-php@2.30.2
with:
php-version: 8.2
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, pdo_pgsql, intl
Expand Down
2 changes: 1 addition & 1 deletion app/Exceptions/Handler.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public function render($request, Throwable $e): Response
}

if (!config("app.debug") && in_array($response->status(), $this->handleByInertia, true)) {
return Inertia::render("Error", [
return Inertia::render(\Error::class, [
"status" => $response->status(),
])
->toResponse($request)
Expand Down
3 changes: 1 addition & 2 deletions app/Http/Middleware/PreventRequestsDuringMaintenance.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,5 @@

class PreventRequestsDuringMaintenance extends Middleware
{
protected $except = [
];
protected $except = [];
}
3 changes: 1 addition & 2 deletions app/Http/Middleware/VerifyCsrfToken.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,5 @@

class VerifyCsrfToken extends Middleware
{
protected $except = [
];
protected $except = [];
}
Loading

0 comments on commit 4f10432

Please sign in to comment.