Skip to content

feat: Add ability to install plugins as part of the action setup #140

feat: Add ability to install plugins as part of the action setup

feat: Add ability to install plugins as part of the action setup #140

Workflow file for this run

name: CI
on:
push:
branches:
- master
pull_request:
jobs:
ci:
strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
poetry-version: ["latest", "1.2.2", "1.3.2", "1.4.2", "1.5.1", "1.6.1"]
os: [ubuntu-22.04, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Run image
uses: ./
with:
poetry-version: ${{ matrix.poetry-version }}
- name: View poetry --help
run: poetry --help
release:
if: github.event_name == 'push'
needs: ci
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Generate release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: npx semantic-release
- name: Update major tag
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
git tag -d v2
git push --delete origin v2
git push origin :refs/tags/v2
git tag v2
git push --tags