Merge pull request #59 from chenrui333/update-readme

Update checkout action to v2
This commit is contained in:
Madhuri Gummalla 2020-01-30 16:04:52 -05:00 committed by GitHub
commit b3b6fd7d43
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,7 +16,7 @@ See [action.yml](action.yml)
Basic: Basic:
```yaml ```yaml
steps: steps:
- uses: actions/checkout@v1 - uses: actions/checkout@v2
- uses: actions/setup-python@v1 - uses: actions/setup-python@v1
with: with:
python-version: '3.x' # Version range or exact version of a Python version to use, using SemVer's version range syntax python-version: '3.x' # Version range or exact version of a Python version to use, using SemVer's version range syntax
@ -34,7 +34,7 @@ jobs:
python-version: [ '2.x', '3.x', 'pypy2', 'pypy3' ] python-version: [ '2.x', '3.x', 'pypy2', 'pypy3' ]
name: Python ${{ matrix.python-version }} sample name: Python ${{ matrix.python-version }} sample
steps: steps:
- uses: actions/checkout@v1 - uses: actions/checkout@v2
- name: Setup python - name: Setup python
uses: actions/setup-python@v1 uses: actions/setup-python@v1
with: with:
@ -58,7 +58,7 @@ jobs:
- os: windows-latest - os: windows-latest
python-version: 3.6 python-version: 3.6
steps: steps:
- uses: actions/checkout@v1 - uses: actions/checkout@v2
- name: Set up Python - name: Set up Python
uses: actions/setup-python@v1 uses: actions/setup-python@v1
with: with: