Revert all github actions to only reference major version

This commit is contained in:
Tobias Gruetzmacher 2021-08-26 22:19:26 +02:00
parent fdef533564
commit cb73e2da50
2 changed files with 7 additions and 7 deletions

View file

@ -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 }}

View file

@ -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'