-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (29 loc) · 1.04 KB
/
verify-locks.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# This is run to avoid an edge case where the latest version of a (probably sub)
# dependency being yanked leads to pip failing to backtrack the dep.
# This happened with `cachecontrol==0.12.12 ; python_version >= "3.7" and python_version < "4.0"`.
name: Verify dependency locks
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on:
pull_request:
branches:
- master
paths: ["dev-requirements/*.txt"]
jobs:
verify-pr-dep-changes:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@cd7d8d697e10461458bc61a30d094dc601a8b017
with:
submodules: "true"
- name: Set up Python 3.11
uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d
with:
python-version: "3.11"
- name: install prerequisites
run: |
python -m pip install --upgrade pip wheel
python -m pip install -r ./piped/python/base-requirements/nox.txt
- name: Verify dependency locks
run: python -m nox -s verify-deps