Skip to content

Commit

Permalink
Start a workflow to run pip-compile on demand
Browse files Browse the repository at this point in the history
This should just run pip-compile, but won't do anything about the
changes
  • Loading branch information
amstilp committed Apr 22, 2024
1 parent ae7f3bd commit 477ec8d
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/pip-compile.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Run pip-compile
on:
workflow_dispatch: # allows you to manually trigger the workflow

jobs:
pip-compile:
runs-on: ubuntu-latest

steps:
- name: Checkout Code Repository
uses: actions/checkout@v4

- name: Set up Python 3.8
uses: actions/setup-python@v5
with:
python-version: 3.8

- name: Install pip-tools
run: |
python -m pip install --upgrade pip
pip install pip-tools
- name: Run pip-compile
run: |
pip-compile requirements/requirements.in
pip-compile requirements/test-requirements.in
pip-compile requirements/dev-requirements.in
- name: List changes
run: git diff --exit-code

0 comments on commit 477ec8d

Please sign in to comment.