Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update GitHub Actions versions with gha-tools #125

Merged
merged 2 commits into from
Jul 18, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading