Update clamav/clamav-debian Docker tag to v1.5.2-36 #2735
Workflow file for this run
This file contains hidden or 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
| # This action is used for Vortex maintenance. It will not be used in the scaffolded project. | |
| name: Vortex - Test installer | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - release/** | |
| - project/** | |
| pull_request: | |
| branches: | |
| - main | |
| - feature/** | |
| - bugfix/** | |
| - release/** | |
| - project/** | |
| jobs: | |
| vortex-test-installer: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| php-versions: ['8.2', '8.3', '8.4'] | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 | |
| - name: Setup PHP | |
| uses: shivammathur/setup-php@accd6127cb78bee3e8082180cb391013d204ef9f # v2 | |
| with: | |
| php-version: ${{ matrix.php-versions }} | |
| coverage: pcov | |
| ini-values: pcov.directory=. | |
| - name: Setup Node.js | |
| uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6 | |
| with: | |
| node-version: 22.17.1 | |
| - name: Set default branch name | |
| run: git config --global init.defaultBranch >/dev/null || git config --global init.defaultBranch "main" | |
| - name: Install dependencies | |
| run: composer install | |
| working-directory: .vortex/installer | |
| - name: Validate Composer configuration is normalized | |
| run: composer normalize --dry-run | |
| working-directory: .vortex/installer | |
| - name: Check coding standards | |
| run: composer lint | |
| working-directory: .vortex/installer | |
| - name: Run tests | |
| run: composer test-coverage | |
| working-directory: .vortex/installer | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.TEST_GITHUB_TOKEN }} | |
| - name: Generate video for installer (not used in the final artifact) | |
| run: | | |
| sudo apt-get update | |
| sudo apt install expect | |
| sudo curl -sSL https://github.com/asciinema/asciinema/releases/latest/download/asciinema-x86_64-unknown-linux-gnu -o /usr/local/bin/asciinema && sudo chmod +x /usr/local/bin/asciinema | |
| npm i -g sharp-cli | |
| yarn install --frozen-lockfile | |
| ./.utils/update-installer-video.sh | |
| working-directory: .vortex/docs | |
| - name: Upload coverage reports as an artifact | |
| uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7 | |
| with: | |
| name: ${{github.job}}-code-coverage-report-${{ matrix.php-versions }} | |
| path: .vortex/installer/.logs | |
| include-hidden-files: true | |
| if-no-files-found: error | |
| - name: Upload coverage report to Codecov | |
| uses: codecov/codecov-action@57e3a136b779b570ffcdbf80b3bdc90e7fab3de2 # v6 | |
| with: | |
| files: .vortex/installer/.logs/cobertura.xml | |
| fail_ci_if_error: true | |
| token: ${{ secrets.CODECOV_TOKEN }} | |
| # Smoke test for PHAR. | |
| - name: Build PHAR | |
| run: composer build | |
| working-directory: .vortex/installer | |
| - name: Test PHAR | |
| run: | | |
| ./build/installer.phar --version | |
| ./build/installer.phar --no-interaction --no-cleanup --destination=test || exit 1 | |
| working-directory: .vortex/installer | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.TEST_GITHUB_TOKEN }} | |
| - name: Upload installer artifact | |
| if: matrix.php-versions == '8.2' | |
| uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7 | |
| with: | |
| name: vortex-installer | |
| path: .vortex/installer/build/installer.phar | |
| if-no-files-found: error |