Running the following GH workflow: ```name: Pulumi...
# python
w
Running the following GH workflow:
Copy code
name: Pulumi
on:
  - pull_request
jobs:
  preview:
    name: Preview
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: actions/setup-python@v5
        with:
          python-version: "3.10"
      - name: Install dependencies
        run: pip install -r requirements.txt
        working-directory: ./infrastructure
      - name: Pulumi Preview
        uses: pulumi/actions@v5
        with:
          command: preview
          stack-name: prod
          work-dir: ./infrastructure
        env:
          PULUMI_ACCESS_TOKEN: ${{ secrets.PULUMI_ACCESS_TOKEN }}
          AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
          AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
I get:
Copy code
ModuleNotFoundError: No module named 'pulumi'
      It looks like the Pulumi SDK has not been installed. Have you run pip install?
      If you are running in a virtualenv, you must run pip install -r requirements.txt from inside the virtualenv.
Any ideas what am I missing?
this approach does solve the issue: https://github.com/pulumi/pulumi/issues/8765#issuecomment-1030173088. Wonder if this is the recommended solution?