Use a context manager for all write actions to prevent indefinite database locks #338
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Check Release | |
on: | |
push: | |
pull_request: | |
jobs: | |
check_release: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
group: [check_release, link_check] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Base Setup | |
uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1 | |
- name: Install Dependencies | |
run: | | |
pip install -e . | |
- name: Check Release | |
if: ${{ matrix.group == 'check_release' }} | |
uses: jupyter-server/jupyter_releaser/.github/actions/check-release@v1 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Run Link Check | |
if: ${{ matrix.group == 'link_check' }} | |
uses: jupyter-server/jupyter_releaser/.github/actions/check-links@v1 | |
- name: Upload Distributions | |
uses: actions/upload-artifact@v2 | |
with: | |
name: jupyter_server_fileid-releaser-dist-${{ github.run_number }} | |
path: .jupyter_releaser_checkout/dist |