fix!: pipx is pre-installed in GitHub Actions #171
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
ci: | |
strategy: | |
fail-fast: false | |
matrix: | |
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"] | |
poetry-version: ["latest", "main", "1.8.4"] | |
os: [ubuntu-22.04, macos-latest, windows-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Run image | |
uses: ./ | |
with: | |
poetry-version: ${{ matrix.poetry-version }} | |
- name: View poetry --help | |
run: poetry --help | |
ci-all: | |
runs-on: ubuntu-latest | |
needs: [ci] | |
steps: | |
- run: | | |
echo "All matrix jobs have completed successfully!" | |
release: | |
if: github.event_name == 'push' | |
needs: ci-all | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@master | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 20.8.1 | |
- name: Generate release | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: npx semantic-release | |
- name: Update major tag | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: | | |
# Temporarily disable as we merge #82 which will bump major version | |
# git tag -d v3 | |
# git push --delete origin v3 | |
# git push origin :refs/tags/v3 | |
# git tag v3 | |
# git push --tags |