diff options
author | reivilibre <oliverw@matrix.org> | 2023-02-13 18:15:38 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-13 18:15:38 +0000 |
commit | c0bf4c3cb43abb90945591f5c3edb6ac45be2afd (patch) | |
tree | 406c00b2f7d45b1dc2051a9c7bf768f0baf184d2 /.github/workflows | |
parent | Tweak comment on `_is_local_room_accessible` as part of room visibility in `/... (diff) | |
download | synapse-c0bf4c3cb43abb90945591f5c3edb6ac45be2afd.tar.xz |
Add check to ensure locked dependencies have source distributions available. (#14742)
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/poetry_lockfile.yaml | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/.github/workflows/poetry_lockfile.yaml b/.github/workflows/poetry_lockfile.yaml new file mode 100644 index 0000000000..ae4d27f2de --- /dev/null +++ b/.github/workflows/poetry_lockfile.yaml @@ -0,0 +1,24 @@ +on: + push: + branches: ["develop", "release-*"] + paths: + - poetry.lock + pull_request: + paths: + - poetry.lock + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + +jobs: + check-sdists: + name: "Check locked dependencies have sdists" + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-python@v4 + with: + python-version: '3.x' + - run: pip install tomli + - run: ./scripts-dev/check_locked_deps_have_sdists.py |