Skip to content

fix: update default python version from 3.8 to 3.10 to align with framework #49

fix: update default python version from 3.8 to 3.10 to align with framework

fix: update default python version from 3.8 to 3.10 to align with framework #49

Workflow file for this run

name: Plugins Test
on:
push:
branches: [main]
tags-ignore: ['**']
paths-ignore: ['**.md']
pull_request:
paths-ignore: ['**.md']
concurrency:
group: ${{ github.ref }}-plugins
cancel-in-progress: true
jobs:
run-this-action:
name: Run action (${{ matrix.plugins }})
runs-on: [ubuntu-latest]
strategy:
fail-fast: false
matrix:
plugins: [
'default_with_version_config',
'default_without_version_in_config',
'tokens',
'tokens==0.8.0'
]
steps:
- uses: actions/checkout@v4
- name: Check plugins
id: check-plugins
run: |
if [[ "${{ matrix.plugins }}" != default_* ]]; then
echo "ape-plugins=${{ matrix.plugins }}" >> $GITHUB_OUTPUT
fi
if [[ "${{ matrix.plugins }}" == "default_without_version_in_config" ]]; then
# Remove the version so it defaults to `. -U`.
sed -i 's/version: 0.8.0//g' "ape-config.yaml"
fi
- name: Run ape action
id: ape-action
uses: ./
with:
ape-plugins-list: ${{ steps.check-plugins.outputs.ape-plugins }}
- run: ape plugins list