Skip to content

Commit

Permalink
Merge pull request #125 from akx/renovate-gha
Browse files Browse the repository at this point in the history
Update GitHub Actions versions with gha-tools
  • Loading branch information
ajmyyra committed Jul 18, 2023
2 parents d0b51a8 + 2281a7f commit c3dd2e2
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 17 deletions.
32 changes: 16 additions & 16 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,21 +8,21 @@ jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: 3.9
cache: pip
cache-dependency-path: |
requirements-dev.txt
setup.py
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools wheel
python -m pip install -r requirements-dev.txt
- name: Run flake8
run: flake8
- uses: actions/cache@v2
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip
build:
runs-on: ubuntu-latest
strategy:
Expand All @@ -34,24 +34,24 @@ jobs:
- py39
- pypy3
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Fedora Tox with ${{ matrix.tox_env }}
uses: fedora-python/tox-github-action@v0.4
uses: fedora-python/tox-github-action@v37.0
with:
tox_env: ${{ matrix.tox_env }}
- uses: actions/setup-python@v2
- uses: actions/cache@v2
- uses: actions/setup-python@v4
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip

cache: pip
cache-dependency-path: |
requirements-dev.txt
setup.py
deploy:
name: Build deploy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- uses: casperdcl/deploy-pypi@v2
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
- uses: casperdcl/deploy-pypi@v2.3.2
with:
password: ${{ secrets.PYPI_TOKEN }}
build: true
Expand Down
2 changes: 1 addition & 1 deletion requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ pytest==6.2.3
# via
# -r requirements-dev.in
# pytest-cov
pyyaml==5.4.1
pyyaml==6.0.1
# via
# bandit
# dparse
Expand Down

0 comments on commit c3dd2e2

Please sign in to comment.