Add pixiake/aichat
#2427
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Verify config | |
on: | |
pull_request: | |
schedule: | |
- cron: '1 0 * * *' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: '7.3' | |
- name: Get current time for cache | |
run: echo "DATE=$(date "+%F")" >> $GITHUB_ENV | |
- name: Cache builder | |
id: builder-cache | |
uses: actions/cache@v4 | |
with: | |
path: builder | |
key: ${{ runner.os }}-builder-${{ env.DATE }} | |
restore-keys: | | |
${{ runner.os }}-builder- | |
- name: Checkout builder | |
run: git clone https://github.com/rob006-software/flarum-translations-builder.git builder || git -C builder pull | |
- name: Install builder dependencies | |
run: composer install --working-dir builder | |
- name: Update | |
run: builder/yii translations/update "@app/../config.php" --update=0 | |
- name: Diff | |
run: git add -A . && git diff HEAD |