Skip to content

Commit

Permalink
CI: bump actions
Browse files Browse the repository at this point in the history
  • Loading branch information
dulmandakh authored Sep 20, 2024
1 parent 7d4ca2b commit 3eb3db9
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,24 +14,24 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: 3.8

- name: Get pip cache dir
id: pip-cache
run: |
echo "::set-output name=dir::$(pip cache dir)"
echo "CACHE_DIR=$(pip cache dir)" >> "$GITHUB_OUTPUT"
- name: Cache
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: ${{ steps.pip-cache.outputs.dir }}
path: ${{ steps.pip-cache.outputs.CACHE_DIR }}
key: release-${{ hashFiles('**/pyproject.toml') }}
restore-keys: |
release-
Expand All @@ -47,7 +47,7 @@ jobs:
- name: Upload packages to Jazzband
if: github.event.action == 'published'
uses: pypa/gh-action-pypi-publish@master
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: jazzband
password: ${{ secrets.JAZZBAND_RELEASE_KEY }}
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- python-version: '3.8'
target: 'qa'
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Start Redis
uses: supercharge/[email protected]
Expand All @@ -25,21 +25,21 @@ jobs:
sudo apt-get install libgraphicsmagick1-dev graphicsmagick libjpeg62 zlib1g-dev
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

- name: Get pip cache dir
id: pip-cache
run: |
echo "::set-output name=dir::$(pip cache dir)"
echo "CACHE_DIR=$(pip cache dir)" >> "$GITHUB_OUTPUT"
- name: Cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ${{ steps.pip-cache.outputs.dir }}
path: ${{ steps.pip-cache.outputs.CACHE_DIR }}
key:
test-${{ matrix.python-version }}-v1-${{ hashFiles('**/setup.py') }}
test-${{ matrix.python-version }}-v1-${{ hashFiles('**/pyproject.toml') }}
restore-keys: |
test-${{ matrix.python-version }}-v1-
Expand All @@ -55,6 +55,6 @@ jobs:
TARGET: ${{ matrix.target }}

- name: Upload coverage
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
with:
name: Python ${{ matrix.python-version }}

0 comments on commit 3eb3db9

Please sign in to comment.