diff options
author | Ran Benita <ran@unusedvar.com> | 2020-05-08 13:03:51 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-08 13:03:51 +0300 |
commit | c66bf59fd53a9f64fa7514b97395fca38e45f897 (patch) | |
tree | 6d16f7ebed9f6a44183b854a0eb8607fab4eafc1 /.github | |
parent | a039fe3e92b62b7963bb6642347ba80d0c7b7d72 (diff) | |
download | pytest-c66bf59fd53a9f64fa7514b97395fca38e45f897.tar.gz |
ci: update github action versions, remove outdated comment (#7177)
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/main.yml | 18 | ||||
-rw-r--r-- | .github/workflows/release-on-comment.yml | 7 |
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 |