aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Zamarin <arthurzam@gentoo.org>2022-08-19 20:08:03 +0300
committerArthur Zamarin <arthurzam@gentoo.org>2022-08-19 20:20:12 +0300
commit25b20e626c207fb1d770b38e707a3ee6e947b074 (patch)
treec5ebca630d06f5a4b8e78eb587c3736cd03f4b07 /.github/workflows/release.yml
parentci: test on macos only for 3.10 (diff)
downloadsnakeoil-25b20e626c207fb1d770b38e707a3ee6e947b074.tar.gz
snakeoil-25b20e626c207fb1d770b38e707a3ee6e947b074.tar.bz2
snakeoil-25b20e626c207fb1d770b38e707a3ee6e947b074.zip
ci: update actions versions & use new pip caching
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to '.github/workflows/release.yml')
-rw-r--r--.github/workflows/release.yml13
1 files changed, 7 insertions, 6 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index d5efaca..b61f7e8 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -10,24 +10,25 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout code
- uses: actions/checkout@v2
+ uses: actions/checkout@v3
- name: Set up Python 3.10
uses: actions/setup-python@v2
with:
python-version: "3.10"
+ cache: 'pip'
+ cache-dependency-path: |
+ requirements/dist.txt
+ requirements/test.txt
- name: Install dependencies
run: |
- # install deps required for building sdist/wheels
python -m pip install --upgrade pip
- pip install -r requirements/dist.txt
- pip install -r requirements/test.txt
+ pip install -r requirements/dist.txt -r requirements/test.txt
- name: Test with pytest
- # forcibly enable pytest colors
env:
- PY_COLORS: 1
+ PY_COLORS: 1 # forcibly enable pytest colors
run: python setup.py test
- name: Build sdist