From ffa110a79747fff0a1e3791772f60d91c0baa728 Mon Sep 17 00:00:00 2001 From: n Date: Sat, 14 Sep 2024 21:19:39 +0200 Subject: [PATCH] move CI to Forgejo (n/playbooks#227) --- {.gitea => .forgejo}/workflows/lint.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) rename {.gitea => .forgejo}/workflows/lint.yml (95%) diff --git a/.gitea/workflows/lint.yml b/.forgejo/workflows/lint.yml similarity index 95% rename from .gitea/workflows/lint.yml rename to .forgejo/workflows/lint.yml index acf819b..7f90f20 100644 --- a/.gitea/workflows/lint.yml +++ b/.forgejo/workflows/lint.yml @@ -1,3 +1,4 @@ +--- name: lint run-name: lint is launched by ${{ github.actor }} on: [push] @@ -7,12 +8,12 @@ jobs: name: lint steps: - run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event." - - run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by Gitea!" + - run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by Forgejo!" - run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}." - name: Check out repository code uses: actions/checkout@v4 - name: Install linters using Composer - run: | + run: | export COMPOSER_HOME=/tmp echo "{}" > composer.json composer config --no-interaction allow-plugins.bamarni/composer-bin-plugin true @@ -24,4 +25,3 @@ jobs: - name: PHP CS Fixer run: vendor/bin/php-cs-fixer fix --dry-run --verbose --diff . - run: echo "🍏 This job's status is ${{ job.status }}." -