v0.37.1 — i32 register shifts obey WASM mod-32 semantics (#682) #12
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Compliance report | |
| # Publishes synth-vX.Y.Z-compliance-report.tar.gz to each GitHub Release so | |
| # pulseengine.eu's fetch-reports surfaces it on the Reports page. Decoupled | |
| # from release.yml on purpose: triggers on release publish, is additive, and | |
| # cannot affect the existing release flow if it fails. | |
| # | |
| # NOTE: rivet-version pins the rivet binary used to validate/export synth's | |
| # artifacts. Bump it if a future schema needs a newer rivet. | |
| on: | |
| release: | |
| types: [published] | |
| workflow_dispatch: | |
| inputs: | |
| tag: | |
| description: 'Existing release tag to (re)generate the report for (e.g. v1.2.3)' | |
| required: true | |
| type: string | |
| permissions: | |
| contents: write | |
| jobs: | |
| compliance: | |
| name: Generate compliance report | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Resolve tag | |
| id: tag | |
| env: | |
| REL_TAG: ${{ github.event.release.tag_name }} | |
| INPUT_TAG: ${{ inputs.tag }} | |
| run: | | |
| set -euo pipefail | |
| TAG="${INPUT_TAG:-$REL_TAG}" | |
| case "$TAG" in v*) ;; *) echo "::error::tag '$TAG' must start with v"; exit 1 ;; esac | |
| echo "tag=$TAG" >> "$GITHUB_OUTPUT" | |
| - uses: actions/checkout@v7 | |
| with: | |
| ref: ${{ steps.tag.outputs.tag }} | |
| - name: Generate compliance report | |
| id: report | |
| uses: pulseengine/rivet/.github/actions/compliance@v0.24.0 | |
| with: | |
| theme: dark | |
| rivet-version: v0.23.0 | |
| include-data-formats: true | |
| report-label: ${{ steps.tag.outputs.tag }} | |
| archive: 'true' | |
| archive-name: synth-${{ steps.tag.outputs.tag }}-compliance-report | |
| - name: Upload report to release | |
| env: | |
| GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| ARCHIVE_PATH: ${{ steps.report.outputs.archive-path }} | |
| TAG: ${{ steps.tag.outputs.tag }} | |
| run: | | |
| set -euo pipefail | |
| if [ -z "${ARCHIVE_PATH:-}" ] || [ ! -f "$ARCHIVE_PATH" ]; then | |
| echo "::error::compliance action produced no archive-path"; exit 1 | |
| fi | |
| gh release upload "$TAG" "$ARCHIVE_PATH" --clobber | |
| echo "::notice title=Compliance report::uploaded $(basename "$ARCHIVE_PATH")" |