diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index b8dfcac..3c0ca69 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -18,15 +18,16 @@ jobs: uses: actions/checkout@v2 with: persist-credentials: false - - uses: conda-incubator/setup-miniconda@v2 + - uses: mamba-org/setup-micromamba@v1 with: python-version: '3.9' mamba-version: "*" channels: conda-forge, defaults + environment-file: environment.yml + init-shell: bash - name: Install RivGraph, dependencies, and Sphinx then build docs shell: bash -l {0} run: | - mamba env create -q --file environment.yml conda activate rivgraph python setup.py install python -m pip install --upgrade pip