Skip to content

Commit

Permalink
Bump actions/cache from 2 to 3
Browse files Browse the repository at this point in the history
Bumps [actions/cache](https://github.com/actions/cache) from 2 to 3.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](actions/cache@v2...v3)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
  • Loading branch information
dependabot[bot] authored May 3, 2022
1 parent cbc0f1a commit 9568744
Showing 1 changed file with 17 additions and 11 deletions.
28 changes: 17 additions & 11 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,31 +33,34 @@ jobs:

steps:
- name: Cache nox evironments
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: .nox
key: ${{ runner.os }}-nox-${{ hashFiles('poetry.lock') }}
restore-keys: |
${{ runner.os }}-nox-
- name: Check out the repository
uses: actions/checkout@v2.4.0
uses: actions/checkout@v3.0.2

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2.3.2
uses: actions/setup-python@v3.1.2
with:
python-version: ${{ matrix.python-version }}

- name: Upgrade pip
run: |
pip install --constraint=.github/workflows/constraints.txt pip
pip --version
- name: Install Wheel
run: |
pip install --constraint=.github/workflows/constraints.txt wheel
- name: Install Poetry
run: |
pip install --constraint=.github/workflows/constraints.txt poetry
poetry --version
- name: Install Nox
- name: Install Nox and nox-poetry
run: |
pip install --constraint=.github/workflows/constraints.txt nox
pip install --constraint=.github/workflows/constraints.txt nox nox-poetry
nox --version
- name: Install strawberry-django-jwt
run: |
Expand All @@ -75,7 +78,7 @@ jobs:
result = "${{ runner.os }}-{}-{}-pre-commit".format(python, digest[:8])
print("::set-output name=result::{}".format(result))
- name: Restore pre-commit cache
uses: actions/cache@v2.1.6
uses: actions/cache@v3
if: matrix.session == 'pre-commit'
with:
path: ~/.cache/pre-commit
Expand All @@ -87,7 +90,7 @@ jobs:
nox --force-color --python=${{ matrix.python-version }}
- name: Upload coverage data
if: always() && startsWith(matrix.session, 'tests')
uses: "actions/upload-artifact@v2.3.1"
uses: actions/upload-artifact@v3.0.0
with:
name: coverage-data
path: ".coverage.*"
Expand All @@ -97,7 +100,7 @@ jobs:
needs: tests
steps:
- name: Check out the repository
uses: actions/checkout@v2.4.0
uses: actions/checkout@v3.0.2

- name: Set up Python 3.9
uses: actions/[email protected]
Expand All @@ -108,19 +111,22 @@ jobs:
run: |
pip install --constraint=.github/workflows/constraints.txt pip
pip --version
- name: Install Wheel
run: |
pip install --constraint=.github/workflows/constraints.txt wheel
- name: Install Poetry
run: |
pip install --constraint=.github/workflows/constraints.txt poetry
poetry --version
- name: Install Nox
- name: Install Nox and nox-poetry
run: |
pip install --constraint=.github/workflows/constraints.txt nox
pip install --constraint=.github/workflows/constraints.txt nox nox-poetry
nox --version
- name: Install strawberry-django-jwt
run: |
pip install .
- name: Download coverage data
uses: actions/download-artifact@v2.1.0
uses: actions/download-artifact@v3.0.0
with:
name: coverage-data

Expand Down

0 comments on commit 9568744

Please sign in to comment.