]> source.dussan.org Git - nextcloud-server.git/commitdiff
Reset composer for automated psalm baseline update 29110/head
authorDaniel Kesselberg <mail@danielkesselberg.de>
Thu, 7 Oct 2021 07:25:14 +0000 (09:25 +0200)
committerDaniel Kesselberg <mail@danielkesselberg.de>
Thu, 7 Oct 2021 07:27:21 +0000 (09:27 +0200)
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
.github/workflows/update-psalm-baseline.yml

index 759a74a12d049f26dd08ebd998a337afb9ab4ceb..b74e9304b7798954395123833d59ac05579b0193 100644 (file)
@@ -22,9 +22,13 @@ jobs:
           extensions: ctype,curl,dom,fileinfo,gd,iconv,intl,json,mbstring,openssl,pdo_sqlite,posix,sqlite,xml,zip
           coverage: none
       - name: Composer install
-        run: composer i
+        run: composer install
       - name: Psalm
         run: composer run psalm -- --monochrome --no-progress --output-format=text --update-baseline
+      - name: Reset composer
+        run: |
+          git clean -f lib/composer
+          git checkout composer.json composer.lock lib/composer
       - name: Create Pull Request
         uses: peter-evans/create-pull-request@v3
         with: