diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 31afc209..ac07937f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -27,7 +27,7 @@ jobs: name: ๐Ÿ› ๏ธ Build runs-on: windows-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 with: fetch-depth: 0 - name: โš™๏ธ Install prerequisites @@ -36,7 +36,7 @@ jobs: - name: ๐Ÿ› ๏ธ Build run: dotnet build -t:build,pack -c ${{ env.BuildConfiguration }} -warnAsError -warnNotAsError:NU1901,NU1902,NU1903,NU1904 - name: ๐Ÿ“ฆ Upload build output - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4 with: name: build-windows path: bin/ @@ -47,14 +47,14 @@ jobs: needs: build runs-on: windows-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 with: fetch-depth: 0 - name: โš™๏ธ Install prerequisites run: ./init.ps1 -UpgradePrerequisites -NoNuGetCredProvider shell: pwsh - name: ๐Ÿ“ฆ Download build - uses: actions/download-artifact@v4 + uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4 with: name: build-windows path: bin/ @@ -68,7 +68,7 @@ jobs: --results-directory TestResults shell: pwsh - name: ๐Ÿ“ข Upload test results - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4 if: always() with: name: test-results-windows @@ -79,7 +79,7 @@ jobs: name: ๐Ÿงช Tests (Linux) runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 with: fetch-depth: 0 - name: โš™๏ธ Install prerequisites @@ -106,7 +106,7 @@ jobs: --results-directory TestResults shell: pwsh - name: ๐Ÿ“ข Upload test results - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4 if: always() with: name: test-results-linux @@ -144,14 +144,14 @@ jobs: filter: "TestCategory=HighMemory&TestShard!=FastMethods&TestShard!=EverythingModern&TestShard!=EverythingLegacy&TestShard!=FullGen-Net8&TestShard!=FullGen-Net9&TestShard!=FullGen-Net9-Ptrs" threads: "1" steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 with: fetch-depth: 0 - name: โš™๏ธ Install prerequisites run: ./init.ps1 -UpgradePrerequisites -NoNuGetCredProvider shell: pwsh - name: ๐Ÿ“ฆ Download build - uses: actions/download-artifact@v4 + uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4 with: name: build-windows path: bin/ @@ -175,7 +175,7 @@ jobs: env: XUNIT_MAX_PARALLEL_THREADS: ${{ matrix.threads }} - name: ๐Ÿ“ข Upload test results - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4 if: always() with: name: test-results-heavy-${{ matrix.name }} @@ -187,14 +187,14 @@ jobs: needs: build runs-on: windows-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 with: fetch-depth: 1 - name: โš™๏ธ Install prerequisites run: ./init.ps1 -UpgradePrerequisites -NoNuGetCredProvider shell: pwsh - name: ๐Ÿ“ฆ Download build - uses: actions/download-artifact@v4 + uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4 with: name: build-windows path: bin/