diff --git a/.github/workflows/test-packaging.yaml b/.github/workflows/test-packaging.yaml index 31449c5..abf6ba0 100644 --- a/.github/workflows/test-packaging.yaml +++ b/.github/workflows/test-packaging.yaml @@ -28,7 +28,7 @@ jobs: working-directory: ${{ github.event.repository.name }} persist-credentials: false - - name: Install build prerequisites + - name: Install jw-pkg from source shell: bash if: ${{ github.event.repository.name != 'jw-pkg' }} run: | @@ -41,6 +41,13 @@ jobs: make -C build-jw-foss pkg-install-release-deps OFFLINE=true make -C build-jw-foss pkg-rebuild-reinstall + - name: Install test dependencies + shell: bash + run: | + set -euxo pipefail + make -C "${{ github.event.repository.name }}" pkg-manager-refresh + make -C "${{ github.event.repository.name }}" pkg-install-testbuild-deps + - name: Run pre-build static code checks shell: bash run: | @@ -51,8 +58,6 @@ jobs: shell: bash run: | set -euxo pipefail - make -C "${{ github.event.repository.name }}" pkg-manager-refresh - make -C "${{ github.event.repository.name }}" pkg-install-testbuild-deps make -C "${{ github.event.repository.name }}" pkg-rebuild - name: Run post-build static code checks