diff --git a/.github/actions/setup-python/action.yml b/.github/actions/setup-python/action.yml new file mode 100644 index 00000000..ce7d0ff7 --- /dev/null +++ b/.github/actions/setup-python/action.yml @@ -0,0 +1,21 @@ +name: Setup Python +description: Setup Python + +inputs: + python-version: + description: Python version + required: false + default: "3.10" + +runs: + using: "composite" + steps: + - uses: pdm-project/setup-pdm@v3 + name: Setup PDM + with: + python-version: ${{ inputs.python-version }} + architecture: "x64" + cache: true + + - run: pdm sync -G:all + shell: bash \ No newline at end of file