Skip to content

Commit

Permalink
Use v2 actions
Browse files Browse the repository at this point in the history
  • Loading branch information
hugovk committed Jun 30, 2020
1 parent ed94291 commit a085882
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,15 @@ jobs:
lint-pip-
- name: pre-commit cache
uses: actions/cache@v1
uses: actions/cache@v2
with:
path: ~/.cache/pre-commit
key: lint-pre-commit-${{ hashFiles('**/.pre-commit-config.yaml') }}
restore-keys: |
lint-pre-commit-
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
path: winbuild\depends

- name: Cache pip
uses: actions/cache@v1
uses: actions/cache@v2
with:
path: ~\AppData\Local\pip\Cache
key:
Expand All @@ -47,7 +47,7 @@ jobs:
# sets env: pythonLocation
- name: Set up Python
uses: actions/setup-python@v1
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
architecture: ${{ matrix.architecture }}
Expand Down Expand Up @@ -128,7 +128,7 @@ jobs:
shell: pwsh

- name: Upload errors
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v2
if: failure()
with:
name: errors
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
- uses: actions/checkout@v2

- name: Ubuntu cache
uses: actions/cache@v1
uses: actions/cache@v2
if: startsWith(matrix.os, 'ubuntu')
with:
path: ~/.cache/pip
Expand All @@ -47,7 +47,7 @@ jobs:
${{ matrix.os }}-${{ matrix.python-version }}-
- name: macOS cache
uses: actions/cache@v1
uses: actions/cache@v2
if: startsWith(matrix.os, 'macOS')
with:
path: ~/Library/Caches/pip
Expand All @@ -57,7 +57,7 @@ jobs:
${{ matrix.os }}-${{ matrix.python-version }}-
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}

Expand Down Expand Up @@ -89,7 +89,7 @@ jobs:
shell: pwsh

- name: Upload errors
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v2
if: failure()
with:
name: errors
Expand Down

0 comments on commit a085882

Please sign in to comment.