Skip to content

Run PHP 8.4 and 8.5 checks in pinned official containers #411

Run PHP 8.4 and 8.5 checks in pinned official containers

Run PHP 8.4 and 8.5 checks in pinned official containers #411

name: published SDK search attributes
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
permissions:
contents: read
concurrency:
group: sdk-search-attributes-${{ github.event_name }}-${{ github.event_name == 'pull_request' && github.ref || github.sha }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
jobs:
search-attributes:
name: Rust typed search attributes and cold recovery
runs-on: ubuntu-latest
timeout-minutes: 20
env:
SDK_SEARCH_ATTRIBUTES_COMPOSE_PROJECT_NAME: sample-app-search-attributes-${{ github.run_id }}-${{ github.run_attempt }}
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Check out the accepted central build source
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
repository: durable-workflow/.github
ref: 18783be6bef737cc778e4c7282a8797e39daa61a
path: .central-apt-source
persist-credentials: false
- name: Resolve the exact published tuple
run: scripts/resolve-current-artifacts.sh >> "$GITHUB_ENV"
- name: Run the documented search attribute experiment
run: SDK_SEARCH_ATTRIBUTES_RESULT_DIR="$RUNNER_TEMP/sdk-search-attributes-proof" scripts/sdk-search-attributes.sh
- name: Retain actual observations and physical worker loss
if: always()
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
with:
name: sdk-search-attributes-${{ github.run_id }}-${{ github.run_attempt }}
path: ${{ runner.temp }}/sdk-search-attributes-proof
if-no-files-found: warn
retention-days: 30