summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorRan Benita <ran@unusedvar.com>2020-05-08 13:03:51 +0300
committerGitHub <noreply@github.com>2020-05-08 13:03:51 +0300
commitc66bf59fd53a9f64fa7514b97395fca38e45f897 (patch)
tree6d16f7ebed9f6a44183b854a0eb8607fab4eafc1 /.github
parenta039fe3e92b62b7963bb6642347ba80d0c7b7d72 (diff)
downloadpytest-c66bf59fd53a9f64fa7514b97395fca38e45f897.tar.gz
ci: update github action versions, remove outdated comment (#7177)
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/main.yml18
-rw-r--r--.github/workflows/release-on-comment.yml7
2 files changed, 13 insertions, 12 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index cd331f742..45e386e57 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -1,9 +1,3 @@
-# evaluating GitHub actions for CI, disregard failures when evaluating PRs
-#
-# this is still missing:
-# - deploy
-# - upload github notes
-#
name: main
on:
@@ -133,9 +127,11 @@ jobs:
use_coverage: true
steps:
- - uses: actions/checkout@v1
+ - uses: actions/checkout@v2
+ # For setuptools-scm.
+ - run: git fetch --prune --unshallow
- name: Set up Python ${{ matrix.python }}
- uses: actions/setup-python@v1
+ uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python }}
- name: install python3.9
@@ -180,9 +176,11 @@ jobs:
needs: [build]
steps:
- - uses: actions/checkout@v1
+ - uses: actions/checkout@v2
+ # For setuptools-scm.
+ - run: git fetch --prune --unshallow
- name: Set up Python
- uses: actions/setup-python@v1
+ uses: actions/setup-python@v2
with:
python-version: "3.7"
- name: Install dependencies
diff --git a/.github/workflows/release-on-comment.yml b/.github/workflows/release-on-comment.yml
index fe62eb1cb..9d803cd38 100644
--- a/.github/workflows/release-on-comment.yml
+++ b/.github/workflows/release-on-comment.yml
@@ -14,9 +14,12 @@ jobs:
if: (github.event.comment && startsWith(github.event.comment.body, '@pytestbot please')) || (github.event.issue && !github.event.comment && startsWith(github.event.issue.body, '@pytestbot please'))
steps:
- - uses: actions/checkout@v1
+ - uses: actions/checkout@v2
+ # For setuptools-scm.
+ - run: git fetch --prune --unshallow
+
- name: Set up Python
- uses: actions/setup-python@v1
+ uses: actions/setup-python@v2
with:
python-version: "3.8"
- name: Install dependencies