forked from flavors/django-graphql-jwt
-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
1 parent
cbc0f1a
commit 9568744
Showing
1 changed file
with
17 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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: | | ||
|
@@ -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 | ||
|
@@ -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.*" | ||
|
@@ -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] | ||
|
@@ -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 | ||
|
||
|