diff --git a/.github/workflows/desktop-build.yml b/.github/workflows/desktop-build.yml index da3240dc..8a208a6a 100644 --- a/.github/workflows/desktop-build.yml +++ b/.github/workflows/desktop-build.yml @@ -885,6 +885,9 @@ jobs: name: Audit Linux Preview asset runs-on: ubuntu-22.04 steps: + - name: Check out source + uses: actions/checkout@v5 + - name: Download Linux release assets env: GH_TOKEN: ${{ github.token }} diff --git a/scripts/desktop-build-workflow.test.mjs b/scripts/desktop-build-workflow.test.mjs index ab2bdba9..ff3cf5be 100644 --- a/scripts/desktop-build-workflow.test.mjs +++ b/scripts/desktop-build-workflow.test.mjs @@ -139,6 +139,7 @@ describe("desktop release workflow", () => { workflow.indexOf("name: Linux x64 AppImage Preview"), workflow.indexOf("name: Audit Linux Preview asset"), ); + const linuxAuditJob = workflow.slice(workflow.indexOf("name: Audit Linux Preview asset")); expect(workflow).toContain("name: Linux x64 AppImage Preview"); expect(workflow).toContain("runs-on: ubuntu-22.04"); expect(linuxJob).toContain("name: Install AppImage runtime dependencies"); @@ -159,6 +160,9 @@ describe("desktop release workflow", () => { expect(step("Build Linux automatic update predecessor")).toContain('gh release download "$PREVIOUS_TAG"'); expect(step("Build Linux automatic update predecessor")).toContain("EdgeEver-linux-update-source.AppImage"); expect(workflow).toContain("name: Audit Linux Preview asset"); + expect(linuxAuditJob).toContain("name: Check out source"); + expect(linuxAuditJob).toContain("uses: actions/checkout@v5"); + expect(linuxAuditJob).toContain("node scripts/verify-linux-update-release.mjs release/desktop"); expect(workflow).toContain("needs: [release-plan, desktop, windows, linux]"); expect(desktopPackageVerifier).toContain("verifyGlibcBaseline(sidecar)"); });