Skip to content

Commit

Permalink
Bump all CI actions
Browse files Browse the repository at this point in the history
  • Loading branch information
jodal committed Feb 25, 2024
1 parent 09a780e commit fd0ec6f
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 17 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/ci.yml
Expand Up @@ -31,18 +31,19 @@ jobs:
container: ghcr.io/mopidy/ci:latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Fix home dir permissions to enable pip caching
run: chown -R root /github/home
- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
cache: pip
cache-dependency-path: setup.cfg
- run: python -m pip install pygobject tox
- run: python -m pip install tox
- run: python -m tox -e ${{ matrix.tox }}
if: ${{ ! matrix.coverage }}
- run: python -m tox -e ${{ matrix.tox }} -- --cov-report=xml
if: ${{ matrix.coverage }}
- uses: codecov/codecov-action@v3
- uses: codecov/codecov-action@v4
if: ${{ matrix.coverage }}
with:
token: ${{ secrets.CODECOV_TOKEN }}
23 changes: 11 additions & 12 deletions .github/workflows/release.yml
Expand Up @@ -9,15 +9,14 @@ jobs:
runs-on: ubuntu-20.04

steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: '3.9'
- name: "Install dependencies"
run: python3 -m pip install build
- name: "Build package"
run: python3 -m build
- uses: pypa/gh-action-pypi-publish@v1.4.1
with:
user: __token__
password: ${{ secrets.PYPI_TOKEN }}
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: "Install dependencies"
run: python3 -m pip install build
- name: "Build package"
run: python3 -m build
- uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_TOKEN }}

0 comments on commit fd0ec6f

Please sign in to comment.