Skip to content

Commit

Permalink
updating workflow actions to remove deprecation warnings (#1243)
Browse files Browse the repository at this point in the history
- actions/checkout from v2 to v3
- actions/setup-python from v2 to v4
- actions/cache from v2 to v3

Co-authored-by: monkut <shane.cousins@gmail.com>
  • Loading branch information
dennybiasiolli and monkut authored May 22, 2023
1 parent c553205 commit 0b1eab1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ jobs:
runs-on: ubuntu-20.04
steps:
- name: Checkout Code Repository
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Set up Python 3.10
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: Install `pypa/build`
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ jobs:
python: [3.7, 3.8, 3.9, "3.10"]
steps:
- name: Checkout Code Repository
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python }}
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
- uses: actions/cache@v2
- uses: actions/cache@v3
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip${{ matrix.python }}-${{ hashFiles('Pipfile') }}
Expand All @@ -46,7 +46,7 @@ jobs:
runs-on: ubuntu-20.04
steps:
- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v4
- name: Finalise Coverage
run: pip3 install --upgrade coveralls && coveralls --service=github --finish
env:
Expand Down

0 comments on commit 0b1eab1

Please sign in to comment.