From 892358d1db132acd94e06da680e02f28ce7cf89d Mon Sep 17 00:00:00 2001 From: Jan Janssen Date: Tue, 27 Aug 2024 09:56:55 +0200 Subject: [PATCH] Remove conda default channel --- .github/workflows/coverage.yml | 15 +++++++-------- .github/workflows/deploy.yml | 6 +++--- .github/workflows/pypicheck.yml | 15 +++++++-------- .github/workflows/unittests.yml | 9 ++++----- 4 files changed, 21 insertions(+), 24 deletions(-) diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index a17af6d1..d7d27cc2 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -19,16 +19,15 @@ jobs: CONDA_PREFIX: /usr/share/miniconda/ steps: - - uses: actions/checkout@v2 - - uses: conda-incubator/setup-miniconda@v2.2.0 + - uses: actions/checkout@v4 + - name: Conda config + run: echo -e "channels:\n - conda-forge\n" > .condarc + - uses: conda-incubator/setup-miniconda@v3 with: - python-version: "3.10" - mamba-version: "*" - channels: conda-forge - channel-priority: strict - auto-update-conda: true + python-version: "3.12" + miniforge-version: latest + condarc-file: .condarc environment-file: .ci_support/environment.yml - miniforge-variant: Mambaforge - name: Setup shell: bash -l {0} run: | diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index f2fd04de..4ed14d0f 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -18,10 +18,10 @@ jobs: permissions: id-token: write steps: - - uses: actions/checkout@v2 - - uses: actions/setup-python@v2 + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 with: - python-version: "3.11" + python-version: "3.12" - name: Install dependencies run: >- diff --git a/.github/workflows/pypicheck.yml b/.github/workflows/pypicheck.yml index 9e8f1ad8..bff1469b 100644 --- a/.github/workflows/pypicheck.yml +++ b/.github/workflows/pypicheck.yml @@ -10,16 +10,15 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: conda-incubator/setup-miniconda@v2.2.0 + - uses: actions/checkout@v4 + - name: Conda config + run: echo -e "channels:\n - conda-forge\n" > .condarc + - uses: conda-incubator/setup-miniconda@v3 with: - python-version: "3.10" - mamba-version: "*" - channels: conda-forge - channel-priority: strict - auto-update-conda: true + python-version: "3.12" + miniforge-version: latest + condarc-file: .condarc environment-file: .ci_support/environment.yml - miniforge-variant: Mambaforge - name: Setup shell: bash -l {0} run: | diff --git a/.github/workflows/unittests.yml b/.github/workflows/unittests.yml index 29344c57..3dd52693 100644 --- a/.github/workflows/unittests.yml +++ b/.github/workflows/unittests.yml @@ -21,15 +21,14 @@ jobs: steps: - uses: actions/checkout@v4 + - name: Conda config + run: echo -e "channels:\n - conda-forge\n" > .condarc - uses: conda-incubator/setup-miniconda@v3 with: python-version: ${{ matrix.python-version }} - mamba-version: "*" - channels: conda-forge - channel-priority: strict - auto-update-conda: true + miniforge-version: latest + condarc-file: .condarc environment-file: .ci_support/environment.yml - miniforge-variant: Mambaforge - name: Setup shell: bash -l {0} run: |