diff --git a/.github/workflows/pipelines.yml b/.github/workflows/pipelines.yml index 3e658e5d..b2642dff 100644 --- a/.github/workflows/pipelines.yml +++ b/.github/workflows/pipelines.yml @@ -22,19 +22,6 @@ permissions: contents: read jobs: - prepare_linux: - name: 🐧 Prepare Linux - uses: codebeltnet/jobs-dotnet-restore/.github/workflows/default.yml@v2 - with: - use-restore-cache: true - - # prepare_windows: - # name: 🪟 Prepare Windows - # uses: codebeltnet/jobs-dotnet-restore/.github/workflows/default.yml@v1 - # with: - # use-restore-cache: true - # runs-on: windows-2022 - prepare_test: name: 📜 Prepare Test runs-on: ubuntu-24.04 @@ -58,14 +45,12 @@ jobs: build: name: call-build - needs: [prepare_linux] strategy: matrix: configuration: [Debug, Release] uses: codebeltnet/jobs-dotnet-build/.github/workflows/default.yml@v3 with: configuration: ${{ matrix.configuration }} - restore-cache-key: ${{ needs.prepare_linux.outputs.restore-cache-key }} strong-name-key-filename: cuemon.snk secrets: GCP_TOKEN: ${{ secrets.GCP_TOKEN }} @@ -73,7 +58,7 @@ jobs: pack: name: call-pack - needs: [prepare_linux, build] + needs: [build] strategy: matrix: configuration: [Debug, Release] @@ -81,11 +66,10 @@ jobs: with: configuration: ${{ matrix.configuration }} version: ${{ needs.build.outputs.version }} - restore-cache-key: ${{ needs.prepare_linux.outputs.restore-cache-key }} test_linux: name: call-test-linux - needs: [build, prepare_test, prepare_linux] + needs: [build, prepare_test] strategy: fail-fast: false matrix: @@ -96,8 +80,8 @@ jobs: runs-on: ubuntu-24.04 configuration: ${{ matrix.configuration }} projects: ${{ matrix.project }} - restore-cache-key: ${{ needs.prepare_linux.outputs.restore-cache-key }} build: true # we need to build due to xUnitv3 + restore: true # we need to restore since we disabled caching test_windows: name: call-test-windows @@ -118,7 +102,7 @@ jobs: integration_test: name: ⚗️ Integration Test - needs: [build, prepare_linux] + needs: [build] strategy: fail-fast: false matrix: @@ -144,19 +128,6 @@ jobs: env: SA_PASSWORD: ${{ secrets.SA_PASSWORD }} - - name: Restore Cache - uses: actions/cache/restore@v4 - with: - path: | - ${{ github.workspace }} - !${{ github.workspace }}/.git - ~/.nuget/packages - key: ${{ needs.prepare_linux.outputs.restore-cache-key }} - restore-keys: | - dotnet-restore- - enableCrossOsArchive: true - fail-on-cache-miss: true - - name: Download Build Artifacts uses: actions/download-artifact@v4 with: @@ -169,6 +140,7 @@ jobs: projects: ${{ matrix.project }} configuration: ${{ matrix.configuration }} build: true # apparently we need to due to xUnitv3 + restore: true # we need to restore since we disabled caching env: CONNECTIONSTRINGS__ADVENTUREWORKS: ${{ secrets.DB_ADVENTUREWORKS }}