| 
53 | 53 |  working-directory: "compiler"  | 
54 | 54 |  run: "php bin/prepare"  | 
55 | 55 | 
 
  | 
 | 56 | + - name: "Compile PHAR"  | 
 | 57 | + working-directory: "compiler/build"  | 
 | 58 | + run: "php box.phar compile --no-parallel"  | 
 | 59 | + | 
 | 60 | + - name: "Run PHAR"  | 
 | 61 | + working-directory: "compiler"  | 
 | 62 | + run: "../tmp/phpstan.phar list"  | 
 | 63 | + | 
 | 64 | + - uses: actions/upload-artifact@v2  | 
 | 65 | + with:  | 
 | 66 | + name: phar-file  | 
 | 67 | + path: tmp/phpstan.phar  | 
 | 68 | + | 
 | 69 | + - name: "Delete PHAR"  | 
 | 70 | + run: "rm tmp/phpstan.phar"  | 
 | 71 | + | 
56 | 72 |  - name: "Set autoloader suffix"  | 
57 | 73 |  run: "composer config autoloader-suffix PHPStanChecksum"  | 
58 | 74 | 
 
  | 
 | 
72 | 88 |  - name: "Delete checksum PHAR"  | 
73 | 89 |  run: "rm tmp/phpstan.phar"  | 
74 | 90 | 
 
  | 
75 |  | - - name: "Compile PHAR"  | 
76 |  | - working-directory: "compiler/build"  | 
77 |  | - run: "php box.phar compile --no-parallel"  | 
78 |  | - | 
79 |  | - - name: "Run PHAR"  | 
80 |  | - working-directory: "compiler"  | 
81 |  | - run: "../tmp/phpstan.phar list"  | 
82 |  | - | 
83 |  | - - uses: actions/upload-artifact@v2  | 
84 |  | - with:  | 
85 |  | - name: phar-file  | 
86 |  | - path: tmp/phpstan.phar  | 
87 |  | - | 
88 | 91 |  integration-tests:  | 
89 | 92 |  if: github.event_name == 'pull_request'  | 
90 | 93 |  needs: compiler-tests  | 
 | 
0 commit comments