Repository: mirumee/ariadne
Pull request #964 (2022-11-04 15:38:16)

Update workflows

codecov[bot]: # [Codecov](https://codecov.io/gh/mirumee/ariadne/pull/964?src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mirumee) Report
> Merging [#964](https://codecov.io/gh/mirumee/ariadne/pull/964?src=pr&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mirumee) (654c1b8) into [master](https://codecov.io/gh/mirumee/ariadne/commit/2487fd5b172bdeeabd948d7cf088839c0f035806?el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mirumee) (2487fd5) will **decrease** coverage by `0.01%`.
> The diff coverage is `n/a`.

```diff
@@            Coverage Diff             @@
##           master     #964      +/-   ##
==========================================
- Coverage   98.33%   98.31%   -0.02%     
==========================================
  Files         102      102              
  Lines        6235     6127     -108     
==========================================
- Hits         6131     6024     -107     
+ Misses        104      103       -1     
```


| [Impacted Files](https://codecov.io/gh/mirumee/ariadne/pull/964?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mirumee) | Coverage Δ | |
|---|---|---|
| [tests/asgi/test\_query\_execution.py](https://codecov.io/gh/mirumee/ariadne/pull/964/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mirumee#diff-dGVzdHMvYXNnaS90ZXN0X3F1ZXJ5X2V4ZWN1dGlvbi5weQ==) | `97.77% <0.00%> (-1.12%)` | :arrow_down: |
| [tests/wsgi/conftest.py](https://codecov.io/gh/mirumee/ariadne/pull/964/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mirumee#diff-dGVzdHMvd3NnaS9jb25mdGVzdC5weQ==) | `97.61% <0.00%> (-0.46%)` | :arrow_down: |
| [ariadne/types.py](https://codecov.io/gh/mirumee/ariadne/pull/964/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mirumee#diff-YXJpYWRuZS90eXBlcy5weQ==) | `92.59% <0.00%> (-0.14%)` | :arrow_down: |
| [tests/federation/test\_interfaces.py](https://codecov.io/gh/mirumee/ariadne/pull/964/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mirumee#diff-dGVzdHMvZmVkZXJhdGlvbi90ZXN0X2ludGVyZmFjZXMucHk=) | `94.00% <0.00%> (-0.12%)` | :arrow_down: |
| [ariadne/file\_uploads.py](https://codecov.io/gh/mirumee/ariadne/pull/964/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mirumee#diff-YXJpYWRuZS9maWxlX3VwbG9hZHMucHk=) | `98.18% <0.00%> (-0.10%)` | :arrow_down: |
| [tests/test\_directives.py](https://codecov.io/gh/mirumee/ariadne/pull/964/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mirumee#diff-dGVzdHMvdGVzdF9kaXJlY3RpdmVzLnB5) | `97.56% <0.00%> (-0.02%)` | :arrow_down: |
| [tests/test\_enums.py](https://codecov.io/gh/mirumee/ariadne/pull/964/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mirumee#diff-dGVzdHMvdGVzdF9lbnVtcy5weQ==) | `100.00% <0.00%> (ø)` | |
| [tests/test\_unions.py](https://codecov.io/gh/mirumee/ariadne/pull/964/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mirumee#diff-dGVzdHMvdGVzdF91bmlvbnMucHk=) | `100.00% <0.00%> (ø)` | |
| [ariadne/extensions.py](https://codecov.io/gh/mirumee/ariadne/pull/964/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mirumee#diff-YXJpYWRuZS9leHRlbnNpb25zLnB5) | `100.00% <0.00%> (ø)` | |
| [tests/test\_graphql.py](https://codecov.io/gh/mirumee/ariadne/pull/964/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mirumee#diff-dGVzdHMvdGVzdF9ncmFwaHFsLnB5) | `100.00% <0.00%> (ø)` | |
| ... and [22 more](https://codecov.io/gh/mirumee/ariadne/pull/964/diff?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mirumee) | |

:mega: We’re building smart automated test selection to slash your CI/CD build times. [Learn more](https://about.codecov.io/iterative-testing/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mirumee)


Patch:
diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml
index 2c7267f..243e0c9 100644
--- a/.github/workflows/publish.yml
+++ b/.github/workflows/publish.yml
@@ -10,11 +10,11 @@ on:
 jobs:
   build-n-publish:
     name: Build and publish to PyPI
-    runs-on: ubuntu-18.04
+    runs-on: ubuntu-latest
     steps:
     - uses: actions/checkout@master
     - name: Set up Python 3.9
-      uses: actions/setup-python@v1
+      uses: actions/setup-python@v4
       with:
         python-version: 3.9
     - name: Install pypa/build
@@ -33,6 +33,6 @@ jobs:
         .
     - name: Publish distribution to PyPI
       if: startsWith(github.ref, 'refs/tags')
-      uses: pypa/gh-action-pypi-publish@master
+      uses: pypa/gh-action-pypi-publish@release/v1
       with:
         password: ${{ secrets.PYPI_API_TOKEN }}


Test patch:
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
index e03372c..2015794 100644
--- a/.github/workflows/tests.yml
+++ b/.github/workflows/tests.yml
@@ -18,7 +18,7 @@ jobs:
     steps:
     - uses: actions/checkout@v3
     - name: Set up Python ${{ matrix.python-version }}
-      uses: actions/setup-python@v2
+      uses: actions/setup-python@v4
       with:
         python-version: ${{ matrix.python-version }}
     - name: Install dependencies
@@ -29,7 +29,7 @@ jobs:
     - name: Pytest
       run: |
         pytest --cov=ariadne --cov=tests
-    - uses: codecov/codecov-action@v1
+    - uses: codecov/codecov-action@v3
     - name: Linters
       run: |
         pylint ariadne tests