Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/check-php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,20 +33,20 @@ jobs:
- 5432:5432

steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 # https://github.com/actions/checkout
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1 # https://github.com/actions/checkout

- name: Validate composer.json and composer.lock
run: composer validate

- name: Cache dependencies
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3 # https://github.com/actions/cache
uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4 # https://github.com/actions/cache
with:
path: vendor
key: ${{ runner.os }}-composer-dependencies-${{ hashFiles('composer.lock') }}
restore-keys: ${{ runner.os }}-composer-dependencies

- name: Setup PHP
uses: shivammathur/setup-php@0f7f1d08e3e32076e51cae65eb0b0c871405b16e # 2.34.1 # https://github.com/shivammathur/setup-php
uses: shivammathur/setup-php@bf6b4fbd49ca58e4608c9c89fba0b8d90bd2a39f # 2.35.5 # https://github.com/shivammathur/setup-php
with:
php-version: 8.3
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, pdo_pgsql, intl
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/deploy-to-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
run: echo "BRANCH_NAME=$GITHUB_REF_NAME" >> $GITHUB_ENV

- name: checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
with:
fetch-depth: 0
ref: ${{ env.BRANCH_NAME }}
Expand All @@ -42,7 +42,7 @@ jobs:
run: echo "DOCKER_IMAGE_NAME=${{ env.DOCKER_REGISTRY }}/${{ env.DOCKER_REGISTRY_PROJECT_NAME }}/${{ env.DOCKER_REGISTRY_REPO_NAME }}" >> $GITHUB_ENV

- name: fetch server secrets
uses: Infisical/secrets-action@a663da43e1541832614bfd9dcf9ab67381ea2b98 # v1.0.12
uses: Infisical/secrets-action@8802effbe453d0576cd923567dcc2c97a1f54058 # v1.0.15
with:
domain: https://infisical.blumilk.pl
client-id: ${{ secrets.INFISICAL_MACHINE_IDENTITY_GHA_BOT_CLIENT_ID }}
Expand All @@ -58,7 +58,7 @@ jobs:
uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # v3.11.1

- name: login to Docker Registry
uses: docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772 # v3.4.0
uses: docker/login-action@5e57cd118135c172c3672efd75eb46360885c0ef # v3.6.0
with:
registry: ${{ env.DOCKER_REGISTRY }}
username: ${{ env.DOCKER_REGISTRY_USER_NAME }}
Expand All @@ -70,7 +70,7 @@ jobs:

- name: Docker meta for app database
id: meta-app-database
uses: docker/metadata-action@902fa8ec7d6ecbf8d84d538b9b233a880e428804 # v5.7.0
uses: docker/metadata-action@318604b99e75e41977312d83839a89be02ca4893 # v5.9.0
with:
images: |
${{ env.DOCKER_APP_DATABASE_IMAGE_NAME }}
Expand All @@ -91,7 +91,7 @@ jobs:

- name: Docker meta for app
id: meta
uses: docker/metadata-action@902fa8ec7d6ecbf8d84d538b9b233a880e428804 # v5.7.0
uses: docker/metadata-action@318604b99e75e41977312d83839a89be02ca4893 # v5.9.0
with:
images: ${{ env.DOCKER_IMAGE_NAME }}
tags: |
Expand Down Expand Up @@ -132,7 +132,7 @@ jobs:


- name: fetch project deployment secrets
uses: Infisical/secrets-action@a663da43e1541832614bfd9dcf9ab67381ea2b98 # v1.0.12
uses: Infisical/secrets-action@8802effbe453d0576cd923567dcc2c97a1f54058 # v1.0.15
with:
domain: https://infisical.blumilk.pl
client-id: ${{ secrets.INFISICAL_MACHINE_IDENTITY_GHA_BOT_CLIENT_ID }}
Expand All @@ -145,7 +145,7 @@ jobs:
include-imports: false

- name: run deployment script over ssh
uses: appleboy/ssh-action@2ead5e36573f08b82fbfce1504f1a4b05a647c6f # v1.2.2
uses: appleboy/ssh-action@91f3272fc5907f4699dcf59761eb622a07342f5a # v1.2.3
with:
timeout: 10s
command_timeout: 10m
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/deploy-to-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
ENVIRONMENT: production
steps:
- name: checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
with:
fetch-tags: true
ref: ${{ inputs.tag }}
Expand All @@ -38,7 +38,7 @@ jobs:
run: echo "DOCKER_IMAGE_NAME=${{ env.DOCKER_REGISTRY }}/${{ env.DOCKER_REGISTRY_PROJECT_NAME }}/${{ env.DOCKER_REGISTRY_REPO_NAME }}" >> $GITHUB_ENV

- name: fetch server secrets
uses: Infisical/[email protected].12
uses: Infisical/secrets-action@8802effbe453d0576cd923567dcc2c97a1f54058 # v1.0.15
with:
domain: https://infisical.blumilk.pl
client-id: ${{ secrets.INFISICAL_MACHINE_IDENTITY_GHA_BOT_CLIENT_ID }}
Expand All @@ -51,10 +51,10 @@ jobs:
include-imports: true

- name: set up Docker Buildx
uses: docker/setup-buildx-action@988b5a0280414f521da01fcc63a27aeeb4b104db # v3.6.1
uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # v3.11.1

- name: login to Docker Registry
uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3.3.0
uses: docker/login-action@5e57cd118135c172c3672efd75eb46360885c0ef # v3.6.0
with:
registry: ${{ env.DOCKER_REGISTRY }}
username: ${{ env.DOCKER_REGISTRY_USER_NAME }}
Expand All @@ -65,7 +65,7 @@ jobs:

- name: Docker meta for app database
id: meta-app-database
uses: docker/metadata-action@v5.5.1
uses: docker/metadata-action@318604b99e75e41977312d83839a89be02ca4893 # v5.9.0
with:
images: |
${{ env.DOCKER_APP_DATABASE_IMAGE_NAME }}
Expand All @@ -75,7 +75,7 @@ jobs:
context: workflow

- name: build and push app database image
uses: docker/build-push-action@v5.1.0
uses: docker/build-push-action@ca052bb54ab0790a636c9b5f226502c73d547a25 # v5.4.0
with:
context: .
file: ./environment/.docker/postgres/Dockerfile
Expand All @@ -87,7 +87,7 @@ jobs:

- name: Docker meta for app
id: meta
uses: docker/metadata-action@8e5442c4ef9f78752691e2d8f8d19755c6f78e81 # v5.5.1
uses: docker/metadata-action@318604b99e75e41977312d83839a89be02ca4893 # v5.9.0
with:
images: ${{ env.DOCKER_IMAGE_NAME }}
tags: |
Expand Down Expand Up @@ -128,7 +128,7 @@ jobs:
rm: true

- name: fetch project deployment secrets
uses: Infisical/[email protected].12
uses: Infisical/secrets-action@8802effbe453d0576cd923567dcc2c97a1f54058 # v1.0.15
with:
domain: https://infisical.blumilk.pl
client-id: ${{ secrets.INFISICAL_MACHINE_IDENTITY_GHA_BOT_CLIENT_ID }}
Expand All @@ -141,7 +141,7 @@ jobs:
include-imports: false

- name: run deployment script over ssh
uses: appleboy/ssh-action@029f5b4aeeeb58fdfe1410a5d17f967dacf36262 # v1.0.3
uses: appleboy/ssh-action@91f3272fc5907f4699dcf59761eb622a07342f5a # v1.2.3
with:
timeout: 10s
command_timeout: 10m
Expand Down
14 changes: 7 additions & 7 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,21 @@
"license": "MIT",
"require": {
"php": "^8.3",
"filament/filament": "^3.3.31",
"filament/spatie-laravel-media-library-plugin": "^3.3.30",
"filament/filament": "^3.3.45",
"filament/spatie-laravel-media-library-plugin": "^3.3.45",
"josiasmontag/laravel-recaptchav3": "^1.0.4",
"laravel/framework": "^11.31",
"laravel/framework": "^11.46.1",
"laravel/tinker": "^2.10.1",
"livewire/livewire": "^3.6.3",
"spatie/eloquent-sortable": "^4.5.0",
"livewire/livewire": "^3.6.4",
"spatie/eloquent-sortable": "^4.5.2",
"fakerphp/faker": "^1.24.1"
},
"require-dev": {
"blumilksoftware/codestyle": "^4.1.0",
"laravel/telescope": "^5.9.1",
"laravel/telescope": "^5.15.0",
"mockery/mockery": "^1.6.12",
"nunomaduro/collision": "^8.8.2",
"phpunit/phpunit": "^11.5.26"
"phpunit/phpunit": "^11.5.44"
},
"autoload": {
"psr-4": {
Expand Down
Loading