Skip to content

Commit

Permalink
Update GitHub Actions versions with gha-tools
Browse files Browse the repository at this point in the history
  • Loading branch information
akx committed Jul 18, 2023
1 parent d0b51a8 commit 363942f
Showing 1 changed file with 16 additions and 16 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
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

0 comments on commit 363942f

Please sign in to comment.