Skip to content

Update main.yml

Update main.yml #46

Workflow file for this run

# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: Check poetry.lock
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v3
- name: Install poetry
run: pipx install poetry
- name: install pypy
id: setup-pypy
uses: actions/setup-python@v4
with:
python-version: 'pypy-3.8'
cache: 'poetry'
- name: check poetry.lock
run: poetry lock --check