2121 name : Lint
2222 runs-on : ubuntu-latest
2323 steps :
24- - uses : actions/checkout@v2
24+ - uses : actions/checkout@v3
2525 - name : Set up Python
26- uses : actions/setup-python@v2
26+ uses : actions/setup-python@v4
2727 with :
2828 python-version : " 3.10"
2929 - name : Install dependencies & browsers
3434 python setup.py bdist_wheel
3535 python -m playwright install --with-deps
3636 - name : Lint
37- uses : pre-commit/action@v2.0.3
37+ run : pre-commit run --show-diff-on-failure --color=always --all-files
3838 - name : Generate APIs
3939 run : bash scripts/update_api.sh
4040 - name : Verify generated API is up to date
9494 browser : chromium
9595 runs-on : ${{ matrix.os }}
9696 steps :
97- - uses : actions/checkout@v2
97+ - uses : actions/checkout@v3
9898 - name : Set up Python
99- uses : actions/setup-python@v2
99+ uses : actions/setup-python@v4
100100 with :
101101 python-version : ${{ matrix.python-version }}
102102 - name : Install dependencies & browsers
@@ -126,7 +126,7 @@ jobs:
126126 - name : Test Async API
127127 if : matrix.os == 'ubuntu-latest'
128128 run : xvfb-run pytest tests/async --browser=${{ matrix.browser }} --timeout 90
129- - uses : actions/upload-artifact@v2
129+ - uses : actions/upload-artifact@v3
130130 if : failure()
131131 with :
132132 name : ${{ matrix.browser }}-${{ matrix.os }}-${{ matrix.python-version }}
@@ -150,9 +150,9 @@ jobs:
150150 browser-channel : msedge
151151 runs-on : ${{ matrix.os }}
152152 steps :
153- - uses : actions/checkout@v2
153+ - uses : actions/checkout@v3
154154 - name : Set up Python
155- uses : actions/setup-python@v2
155+ uses : actions/setup-python@v4
156156 with :
157157 python-version : " 3.10"
158158 - name : Install dependencies & browsers
@@ -176,7 +176,7 @@ jobs:
176176 - name : Test Async API
177177 if : matrix.os == 'ubuntu-latest'
178178 run : xvfb-run pytest tests/async --browser=chromium --browser-channel=${{ matrix.browser-channel }} --timeout 90
179- - uses : actions/upload-artifact@v2
179+ - uses : actions/upload-artifact@v3
180180 if : failure()
181181 with :
182182 name : ${{ matrix.browser-channel }}-${{ matrix.os }}
@@ -190,7 +190,7 @@ jobs:
190190 os : [ubuntu-20.04, macos-10.15, windows-2019]
191191 runs-on : ${{ matrix.os }}
192192 steps :
193- - uses : actions/checkout@v2
193+ - uses : actions/checkout@v3
194194 with :
195195 fetch-depth : 0
196196 - name : Get conda
0 commit comments