From 56638ee71013ea96a6f23fbc717299b576d0989c Mon Sep 17 00:00:00 2001 From: Michel Roux Date: Sun, 25 Jun 2023 16:30:40 +0200 Subject: [PATCH] Move to Gitea Actions --- .drone.yml | 24 ------------------------ .gitea/workflows/epubreader.yml | 31 +++++++++++++++++++++++++++++++ 2 files changed, 31 insertions(+), 24 deletions(-) delete mode 100644 .drone.yml create mode 100644 .gitea/workflows/epubreader.yml diff --git a/.drone.yml b/.drone.yml deleted file mode 100644 index 3ff7c6b..0000000 --- a/.drone.yml +++ /dev/null @@ -1,24 +0,0 @@ -kind: pipeline -name: default -type: docker - -steps: - - name: nextcloud:22 - image: nextcloud:22 - commands: - - curl -sSLo /usr/local/bin/composer https://getcomposer.org/download/latest-stable/composer.phar - - chmod +x /usr/local/bin/composer - - composer install - - composer run lint - - composer run cs:check - - composer run psalm:check - - - name: nextcloud:27 - image: nextcloud:27.0.0 - commands: - - curl -sSLo /usr/local/bin/composer https://getcomposer.org/download/latest-stable/composer.phar - - chmod +x /usr/local/bin/composer - - composer install - - composer run lint - - composer run cs:check - - composer run psalm:check diff --git a/.gitea/workflows/epubreader.yml b/.gitea/workflows/epubreader.yml new file mode 100644 index 0000000..2f22e54 --- /dev/null +++ b/.gitea/workflows/epubreader.yml @@ -0,0 +1,31 @@ +name: epubreader +on: [push] + +jobs: + nextcloud-22: + runs-on: ubuntu-latest + container: nextcloud:22 + steps: + - run: apt-get update + - run: apt-get install -y git nodejs + - uses: actions/checkout@v3 + - run: curl -sSLo /usr/local/bin/composer https://getcomposer.org/download/latest-stable/composer.phar + - run: chmod +x /usr/local/bin/composer + - run: composer install + - run: composer run lint + - run: composer run cs:check + - run: composer run psalm:check + + nextcloud-27: + runs-on: ubuntu-latest + container: nextcloud:27.0.0 + steps: + - run: apt-get update + - run: apt-get install -y git nodejs + - uses: actions/checkout@v3 + - run: curl -sSLo /usr/local/bin/composer https://getcomposer.org/download/latest-stable/composer.phar + - run: chmod +x /usr/local/bin/composer + - run: composer install + - run: composer run lint + - run: composer run cs:check + - run: composer run psalm:check