Revert all github actions to only reference major version
This commit is contained in:
parent
fdef533564
commit
cb73e2da50
2 changed files with 7 additions and 7 deletions
6
.github/workflows/pages.yml
vendored
6
.github/workflows/pages.yml
vendored
|
@ -12,12 +12,12 @@ jobs:
|
||||||
deploy:
|
deploy:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2.3.4
|
- uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
fetch-depth: 10
|
fetch-depth: 10
|
||||||
|
|
||||||
- name: Set up Python
|
- name: Set up Python
|
||||||
uses: actions/setup-python@v2.2.2
|
uses: actions/setup-python@v2
|
||||||
with:
|
with:
|
||||||
python-version: 3.9
|
python-version: 3.9
|
||||||
|
|
||||||
|
@ -27,7 +27,7 @@ jobs:
|
||||||
ssite build --output public
|
ssite build --output public
|
||||||
|
|
||||||
- name: Deploy
|
- name: Deploy
|
||||||
uses: peaceiris/actions-gh-pages@v3.8.0
|
uses: peaceiris/actions-gh-pages@v3
|
||||||
with:
|
with:
|
||||||
cname: dosage.rocks
|
cname: dosage.rocks
|
||||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
8
.github/workflows/test.yml
vendored
8
.github/workflows/test.yml
vendored
|
@ -12,10 +12,10 @@ jobs:
|
||||||
python-version: [3.6, 3.7, 3.8, 3.9]
|
python-version: [3.6, 3.7, 3.8, 3.9]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2.3.4
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Set up Python ${{ matrix.python-version }}
|
- name: Set up Python ${{ matrix.python-version }}
|
||||||
uses: actions/setup-python@v2.2.2
|
uses: actions/setup-python@v2
|
||||||
with:
|
with:
|
||||||
python-version: ${{ matrix.python-version }}
|
python-version: ${{ matrix.python-version }}
|
||||||
|
|
||||||
|
@ -28,7 +28,7 @@ jobs:
|
||||||
if: ${{ matrix.python-version != '3.9' }}
|
if: ${{ matrix.python-version != '3.9' }}
|
||||||
|
|
||||||
- name: Test with tox (and upload coverage)
|
- 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' }}
|
if: ${{ matrix.python-version == '3.9' }}
|
||||||
env:
|
env:
|
||||||
CC_TEST_REPORTER_ID: 2a411f596959fc32f5d73f3ba7cef8cc4d5733299d742dbfc97fd6c190b9010c
|
CC_TEST_REPORTER_ID: 2a411f596959fc32f5d73f3ba7cef8cc4d5733299d742dbfc97fd6c190b9010c
|
||||||
|
@ -38,6 +38,6 @@ jobs:
|
||||||
${{ github.workspace }}/.tox/reports/*/coverage.xml:coverage.py
|
${{ github.workspace }}/.tox/reports/*/coverage.xml:coverage.py
|
||||||
prefix: ${{ github.workspace }}/.tox/py39/lib/python3.9/site-packages
|
prefix: ${{ github.workspace }}/.tox/py39/lib/python3.9/site-packages
|
||||||
|
|
||||||
- uses: codecov/codecov-action@v2.0.2
|
- uses: codecov/codecov-action@v2
|
||||||
with:
|
with:
|
||||||
directory: '.tox/reports'
|
directory: '.tox/reports'
|
||||||
|
|
Loading…
Reference in a new issue