This is an automated email from the ASF dual-hosted git repository. leerho pushed a commit to branch Update_workflows in repository https://gitbox.apache.org/repos/asf/datasketches-memory.git
commit d14aec1190e3f4b06a5ec29fc16f245700d21213 Author: Lee Rhodes <[email protected]> AuthorDate: Mon Jun 8 17:47:49 2026 -0700 update stageReleaseSources in main. And add dependabot.yml --- .github/dependabot.yml | 24 ++++++++++++++++ .github/workflows/stageReleaseSources.yml | 47 +++++++++++++++++++++++++++++++ 2 files changed, 71 insertions(+) diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 00000000..af1ee89f --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,24 @@ +# Please see the documentation for all configuration options: +# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file + +version: 2 +updates: + # Check the default branch (main) + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "monthly" + + # Check the 'workflows' branch + - package-ecosystem: "github-actions" + directory: "/" + target-branch: "workflows" + schedule: + interval: "monthly" + + # Check the '7.0.X' branch + - package-ecosystem: "github-actions" + directory: "/" + target-branch: "7.0.X" + schedule: + interval: "monthly" diff --git a/.github/workflows/stageReleaseSources.yml b/.github/workflows/stageReleaseSources.yml index ed3e3588..8f6bbeb4 100644 --- a/.github/workflows/stageReleaseSources.yml +++ b/.github/workflows/stageReleaseSources.yml @@ -94,3 +94,50 @@ jobs: name: datasketches-memory-release-source-bundle path: staging_dir/ retention-days: 15 + + test-source-candidate: + name: Test Source Candidate on ${{ matrix.os }} + needs: assemble-source-candidate + runs-on: ${{ matrix.os }} + strategy: + fail-fast: false + matrix: + os: [ubuntu-latest, windows-latest, macos-latest] + + steps: + # 1. Download the zipped artifact uploaded by the previous job + - name: Download Source ZIP Artifact + uses: actions/download-artifact@v4 + with: + name: datasketches-memory-release-source-bundle + path: downloaded-bundle + + # 2. Extract the source distribution + - name: Extract Source Distribution + shell: bash + run: | + # The downloaded artifact folder contains the zip file + ZIP_FILE=$(ls downloaded-bundle/*.zip) + echo "Unzipping $ZIP_FILE..." + unzip -q $ZIP_FILE -d test-workspace + + # 3. Setup Java Toolchain (11, 17, and 21) + - name: Setup Java Toolchains + uses: actions/setup-java@v5 + with: + java-version: | + 11 + 17 + 21 + distribution: 'temurin' + + # 4. Run the tests on the unzipped sources + - name: Execute Tests + shell: bash + run: | + # Enter the unzipped directory (which will be named datasketches-memory-X.Y.Z-src) + cd test-workspace/* + echo "Running tests in $(pwd)" + + # Run the standard test phase (this validates line-endings, missing files, and fallbacks!) + mvn clean test --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
