Updated dependencies + Fixed overflow warning #42
This file contains 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: Poetry Outdated | |
on: | |
push: | |
pull_request: | |
#on: | |
# push: | |
# branches: | |
# - main | |
jobs: | |
outdated: | |
runs-on: ${{matrix.os}} | |
strategy: | |
matrix: | |
os: [macos-latest] | |
python-version: ['3.10'] | |
poetry-version: [1.4.2] | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Setup Poetry | |
uses: abatilo/actions-poetry@v2.0.0 | |
with: | |
poetry-version: ${{ matrix.poetry-version }} | |
- name: Install dependencies | |
run: | | |
make install | |
- name: Show outdated dependencies | |
run: | | |
! poetry show --outdated | grep --file=<(poetry show --tree | grep '^\w' | cut -d' ' -f1) 1>&2 |