Skip to content

Create python-cache.yml #1

Create python-cache.yml

Create python-cache.yml #1

Workflow file for this run

Python test
on:

Check failure on line 3 in .github/workflows/python-cache.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/python-cache.yml

Invalid workflow file

You have an error in your yaml syntax on line 3
[workflow_dispatch]
jobs:
build:
strategy:
fail-fast: false
matrix:
target:
- os: "windows-latest"
architecture: "x64"
- os: "windows-latest"
architecture: "x86"
defaults:
run:
shell: bash
runs-on: ${{ matrix.target.os }}
steps:
- uses: actions/checkout@v4
- name: Install poetry
run: pipx install poetry
- name: Setup Python
uses: actions/setup-python@v5
id: setup-python
with:
python-version: "3.11"
architecture: ${{ matrix.target.architecture }}
cache: "poetry"