-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (32 loc) · 1.02 KB
/
resync-piped.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
37
38
39
40
41
name: Resync piped
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on:
pull_request:
branches:
- master
paths: ["piped", "piped.toml", "pyproject.toml"]
jobs:
resync-piped:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
with:
submodules: "true"
- name: Set up Python 3.11
uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3
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: Resync Piped
run: python -m nox -s copy-piped bot-package-diff
- uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874
with:
name: gogo.patch
path: gogo.patch
- name: Check diff file
run: python -m nox -s is-diff-file-empty