From cb73e2da50ffe666d677d4f7e8b4631251912310 Mon Sep 17 00:00:00 2001 From: Tobias Gruetzmacher Date: Thu, 26 Aug 2021 22:19:26 +0200 Subject: [PATCH] Revert all github actions to only reference major version --- .github/workflows/pages.yml | 6 +++--- .github/workflows/test.yml | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml index 27881e739..af0b12439 100644 --- a/.github/workflows/pages.yml +++ b/.github/workflows/pages.yml @@ -12,12 +12,12 @@ jobs: deploy: runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v2.3.4 + - uses: actions/checkout@v2 with: fetch-depth: 10 - name: Set up Python - uses: actions/setup-python@v2.2.2 + uses: actions/setup-python@v2 with: python-version: 3.9 @@ -27,7 +27,7 @@ jobs: ssite build --output public - name: Deploy - uses: peaceiris/actions-gh-pages@v3.8.0 + uses: peaceiris/actions-gh-pages@v3 with: cname: dosage.rocks github_token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0e922de7e..bb2a33b90 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -12,10 +12,10 @@ jobs: python-version: [3.6, 3.7, 3.8, 3.9] steps: - - uses: actions/checkout@v2.3.4 + - uses: actions/checkout@v2 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v2.2.2 + uses: actions/setup-python@v2 with: python-version: ${{ matrix.python-version }} @@ -28,7 +28,7 @@ jobs: if: ${{ matrix.python-version != '3.9' }} - name: Test with tox (and upload coverage) - uses: paambaati/codeclimate-action@v2.7.5 + uses: paambaati/codeclimate-action@v2 if: ${{ matrix.python-version == '3.9' }} env: CC_TEST_REPORTER_ID: 2a411f596959fc32f5d73f3ba7cef8cc4d5733299d742dbfc97fd6c190b9010c @@ -38,6 +38,6 @@ jobs: ${{ github.workspace }}/.tox/reports/*/coverage.xml:coverage.py prefix: ${{ github.workspace }}/.tox/py39/lib/python3.9/site-packages - - uses: codecov/codecov-action@v2.0.2 + - uses: codecov/codecov-action@v2 with: directory: '.tox/reports'