Skip to content

Bump actions/setup-python from 4.6.0 to 4.7.0 #103

Bump actions/setup-python from 4.6.0 to 4.7.0

Bump actions/setup-python from 4.6.0 to 4.7.0 #103

Workflow file for this run

name: configstore
on:
push:
workflow_dispatch:
jobs:
prepare:
runs-on: ubuntu-latest
steps:
- name: Create matrix
uses: fabiocaccamo/create-matrix-action@v3
id: make_matrix
with:
matrix: |
python-version {3.11}, tox-env {py311,py311-pydotenv,coverage,pkg}
python-version {3.10}, tox-env {py310}
outputs:
matrix: ${{ steps.make_matrix.outputs.matrix }}
test:
runs-on: ubuntu-latest
needs: prepare
strategy:
fail-fast: false
matrix:
include: ${{fromJson(needs.prepare.outputs.matrix)}}
steps:
- uses: actions/checkout@v3.5.2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4.7.0
with:
python-version: ${{ matrix.python-version }}
cache: pip
cache-dependency-path: 'pyproject.toml'
- uses: actions/cache@v3.3.1
with:
path: |
.tox
key: configstore-${{ matrix.tox-env }}-v2-${{ hashFiles('pyproject.toml') }}
restore-keys: configstore-${{ matrix.tox-env }}-v2-
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install tox
- name: Test with tox (${{ matrix.tox-env }})
run: tox -e ${{ matrix.tox-env }}
slack-workflow-status:
runs-on: ubuntu-latest
if: always()
needs:
- test
steps:
- name: Send Slack notification
uses: Gamesight/slack-workflow-status@v1.2.0
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
slack_webhook_url: ${{ secrets.SLACK_WEBHOOK_URL }}