From 36c525137ca6a1ff5a5b8a12efd5c0cb816eddd5 Mon Sep 17 00:00:00 2001 From: Pirmin Kaufmann Date: Wed, 10 Apr 2024 14:36:50 +0200 Subject: [PATCH] Update GitHub workflow to use pinned environment. --- .github/workflows/pre-commit.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index 071e0f9..25445f9 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -9,7 +9,7 @@ on: - main jobs: - blueprint-pre-commit: + moveroplot-pre-commit: runs-on: ubuntu-latest defaults: run: @@ -19,16 +19,16 @@ jobs: - name: Set up Python uses: actions/setup-python@v2 with: - python-version: 3.11.0 + python-version: 3.11.7 - uses: conda-incubator/setup-miniconda@v2 with: miniconda-version: "latest" channels: conda-forge channel-priority: flexible show-channel-urls: true - - name: Create env from unpinned reqs + - name: Create env from pinned reqs run: | - conda env create --name dev_env --file requirements/requirements.yml + conda env create --name dev_env --file requirements/environment.yml - name: Install project into env run: | conda run --name dev_env pip install --no-deps .