From 5a921539b6fc9fc5a56f08dc8dd90ec08b4c714e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Misty=20De=20M=C3=A9o?= Date: Wed, 20 Sep 2023 10:15:46 -0700 Subject: [PATCH] tests --- cargo-dist/tests/snapshots/akaikatana_basic.snap | 5 +++++ cargo-dist/tests/snapshots/akaikatana_repo_with_dot_git.snap | 5 +++++ cargo-dist/tests/snapshots/axolotlsay_basic.snap | 5 +++++ cargo-dist/tests/snapshots/axolotlsay_edit_existing.snap | 5 +++++ .../tests/snapshots/axolotlsay_no_homebrew_publish.snap | 5 +++++ .../tests/snapshots/axolotlsay_ssldotcom_windows_sign.snap | 5 +++++ .../snapshots/axolotlsay_ssldotcom_windows_sign_prod.snap | 5 +++++ 7 files changed, 35 insertions(+) diff --git a/cargo-dist/tests/snapshots/akaikatana_basic.snap b/cargo-dist/tests/snapshots/akaikatana_basic.snap index 9475ef042..65585dee8 100644 --- a/cargo-dist/tests/snapshots/akaikatana_basic.snap +++ b/cargo-dist/tests/snapshots/akaikatana_basic.snap @@ -1389,6 +1389,11 @@ jobs: echo "paths<> "$GITHUB_OUTPUT" jq --raw-output ".artifacts[]?.path | select( . != null )" dist-manifest.json >> "$GITHUB_OUTPUT" echo "EOF" >> "$GITHUB_OUTPUT" + - name: "Linkage report" + run: | + cargo dist linkage ${{ matrix.dist_args }} --print-output --print-json > linkage.json + + echo "linkage=$(cat linkage.json)" >> "${GITHUB_OUTPUT}" - name: "Upload artifacts" uses: actions/upload-artifact@v3 with: diff --git a/cargo-dist/tests/snapshots/akaikatana_repo_with_dot_git.snap b/cargo-dist/tests/snapshots/akaikatana_repo_with_dot_git.snap index 9475ef042..65585dee8 100644 --- a/cargo-dist/tests/snapshots/akaikatana_repo_with_dot_git.snap +++ b/cargo-dist/tests/snapshots/akaikatana_repo_with_dot_git.snap @@ -1389,6 +1389,11 @@ jobs: echo "paths<> "$GITHUB_OUTPUT" jq --raw-output ".artifacts[]?.path | select( . != null )" dist-manifest.json >> "$GITHUB_OUTPUT" echo "EOF" >> "$GITHUB_OUTPUT" + - name: "Linkage report" + run: | + cargo dist linkage ${{ matrix.dist_args }} --print-output --print-json > linkage.json + + echo "linkage=$(cat linkage.json)" >> "${GITHUB_OUTPUT}" - name: "Upload artifacts" uses: actions/upload-artifact@v3 with: diff --git a/cargo-dist/tests/snapshots/axolotlsay_basic.snap b/cargo-dist/tests/snapshots/axolotlsay_basic.snap index f45367232..4c9edd439 100644 --- a/cargo-dist/tests/snapshots/axolotlsay_basic.snap +++ b/cargo-dist/tests/snapshots/axolotlsay_basic.snap @@ -2284,6 +2284,11 @@ jobs: echo "paths<> "$GITHUB_OUTPUT" jq --raw-output ".artifacts[]?.path | select( . != null )" dist-manifest.json >> "$GITHUB_OUTPUT" echo "EOF" >> "$GITHUB_OUTPUT" + - name: "Linkage report" + run: | + cargo dist linkage ${{ matrix.dist_args }} --print-output --print-json > linkage.json + + echo "linkage=$(cat linkage.json)" >> "${GITHUB_OUTPUT}" - name: "Upload artifacts" uses: actions/upload-artifact@v3 with: diff --git a/cargo-dist/tests/snapshots/axolotlsay_edit_existing.snap b/cargo-dist/tests/snapshots/axolotlsay_edit_existing.snap index 31647c492..9d3b0887f 100644 --- a/cargo-dist/tests/snapshots/axolotlsay_edit_existing.snap +++ b/cargo-dist/tests/snapshots/axolotlsay_edit_existing.snap @@ -2259,6 +2259,11 @@ jobs: echo "paths<> "$GITHUB_OUTPUT" jq --raw-output ".artifacts[]?.path | select( . != null )" dist-manifest.json >> "$GITHUB_OUTPUT" echo "EOF" >> "$GITHUB_OUTPUT" + - name: "Linkage report" + run: | + cargo dist linkage ${{ matrix.dist_args }} --print-output --print-json > linkage.json + + echo "linkage=$(cat linkage.json)" >> "${GITHUB_OUTPUT}" - name: "Upload artifacts" uses: actions/upload-artifact@v3 with: diff --git a/cargo-dist/tests/snapshots/axolotlsay_no_homebrew_publish.snap b/cargo-dist/tests/snapshots/axolotlsay_no_homebrew_publish.snap index b5df6e902..6b743863b 100644 --- a/cargo-dist/tests/snapshots/axolotlsay_no_homebrew_publish.snap +++ b/cargo-dist/tests/snapshots/axolotlsay_no_homebrew_publish.snap @@ -2259,6 +2259,11 @@ jobs: echo "paths<> "$GITHUB_OUTPUT" jq --raw-output ".artifacts[]?.path | select( . != null )" dist-manifest.json >> "$GITHUB_OUTPUT" echo "EOF" >> "$GITHUB_OUTPUT" + - name: "Linkage report" + run: | + cargo dist linkage ${{ matrix.dist_args }} --print-output --print-json > linkage.json + + echo "linkage=$(cat linkage.json)" >> "${GITHUB_OUTPUT}" - name: "Upload artifacts" uses: actions/upload-artifact@v3 with: diff --git a/cargo-dist/tests/snapshots/axolotlsay_ssldotcom_windows_sign.snap b/cargo-dist/tests/snapshots/axolotlsay_ssldotcom_windows_sign.snap index cfa6bd425..e92514ae4 100644 --- a/cargo-dist/tests/snapshots/axolotlsay_ssldotcom_windows_sign.snap +++ b/cargo-dist/tests/snapshots/axolotlsay_ssldotcom_windows_sign.snap @@ -1377,6 +1377,11 @@ jobs: echo "paths<> "$GITHUB_OUTPUT" jq --raw-output ".artifacts[]?.path | select( . != null )" dist-manifest.json >> "$GITHUB_OUTPUT" echo "EOF" >> "$GITHUB_OUTPUT" + - name: "Linkage report" + run: | + cargo dist linkage ${{ matrix.dist_args }} --print-output --print-json > linkage.json + + echo "linkage=$(cat linkage.json)" >> "${GITHUB_OUTPUT}" - name: "Upload artifacts" uses: actions/upload-artifact@v3 with: diff --git a/cargo-dist/tests/snapshots/axolotlsay_ssldotcom_windows_sign_prod.snap b/cargo-dist/tests/snapshots/axolotlsay_ssldotcom_windows_sign_prod.snap index fc21ba4ae..ca2d9efd4 100644 --- a/cargo-dist/tests/snapshots/axolotlsay_ssldotcom_windows_sign_prod.snap +++ b/cargo-dist/tests/snapshots/axolotlsay_ssldotcom_windows_sign_prod.snap @@ -1377,6 +1377,11 @@ jobs: echo "paths<> "$GITHUB_OUTPUT" jq --raw-output ".artifacts[]?.path | select( . != null )" dist-manifest.json >> "$GITHUB_OUTPUT" echo "EOF" >> "$GITHUB_OUTPUT" + - name: "Linkage report" + run: | + cargo dist linkage ${{ matrix.dist_args }} --print-output --print-json > linkage.json + + echo "linkage=$(cat linkage.json)" >> "${GITHUB_OUTPUT}" - name: "Upload artifacts" uses: actions/upload-artifact@v3 with: