Skip to content

Commit

Permalink
fix several build errors around composer config cache and shellcheck …
Browse files Browse the repository at this point in the history
…for env variables
  • Loading branch information
Murazaki committed Apr 29, 2024
1 parent 9b08f76 commit 80c3fd7
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
#!/bin/bash
# -*- mode: bash -*-
# vi: ft=bash
# shellcheck disable=SC2034,SC2148

APP_NAME="Pixelfed"
APP_ENV="production"
APP_KEY=
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/db.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,8 @@ jobs:

- name: Install composer dependencies
run: php composer.phar install -n --prefer-dist
env:
ENABLE_CONFIG_CACHE: false

- name: Setup Environment
run: |
Expand Down Expand Up @@ -235,6 +237,8 @@ jobs:

- name: Install composer dependencies
run: php composer.phar install -n --prefer-dist
env:
ENABLE_CONFIG_CACHE: false

- name: Setup Environment
run: |
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,8 @@ jobs:

- name: Install composer dependencies
run: php composer.phar install --no-interaction --prefer-dist
env:
ENABLE_CONFIG_CACHE: false

- name: Setup Environment
run: |
Expand Down Expand Up @@ -143,6 +145,8 @@ jobs:

- name: Install composer dependencies
run: php composer.phar install --no-interaction --prefer-dist
env:
ENABLE_CONFIG_CACHE: false

# - name: Run laravel/pint
# run: ./vendor/bin/pint --test

0 comments on commit 80c3fd7

Please sign in to comment.