From 8cdd9ced07e7903d049553538868e6adb1daf646 Mon Sep 17 00:00:00 2001 From: Jeremy McCormick Date: Thu, 8 Aug 2024 11:21:36 -0500 Subject: [PATCH] Add workflow for setting up CI environment --- .github/actions/setup.yaml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/actions/setup.yaml diff --git a/.github/actions/setup.yaml b/.github/actions/setup.yaml new file mode 100644 index 00000000..ab5dac85 --- /dev/null +++ b/.github/actions/setup.yaml @@ -0,0 +1,26 @@ +name: Setup CI environment + +on: + workflow_call: + +jobs: + + setup: + + runs-on: ubuntu-latest + + steps: + + - name: Check out repo + uses: actions/checkout@v4 + + - name: Setup Python + uses: actions/setup-python@v5 + with: + python-version: "3.12" + cache: "pip" + + - name: Install dependencies + run: | + python -m pip install --upgrade pip uv + uv pip install --system -r requirements.txt