diff --git a/.github/workflows/assess-file-changes.yml b/.github/workflows/assess-file-changes.yml index dbf9661ef..1940ce536 100644 --- a/.github/workflows/assess-file-changes.yml +++ b/.github/workflows/assess-file-changes.yml @@ -17,7 +17,7 @@ jobs: name: Test changed-files steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 diff --git a/.github/workflows/auto-publish.yml b/.github/workflows/auto-publish.yml index da0f81a49..448ae10f3 100644 --- a/.github/workflows/auto-publish.yml +++ b/.github/workflows/auto-publish.yml @@ -11,9 +11,9 @@ jobs: deploy: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Set up Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v5 with: python-version: "3.9" - name: Install dependencies diff --git a/.github/workflows/dev-gallery.yml b/.github/workflows/dev-gallery.yml index 5ed12a86c..05ecf8c3e 100644 --- a/.github/workflows/dev-gallery.yml +++ b/.github/workflows/dev-gallery.yml @@ -11,18 +11,19 @@ jobs: strategy: fail-fast: false steps: - - uses: s-weigand/setup-conda@v1 - with: - update-conda: true - python-version: 3.9 - conda-channels: conda-forge - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - run: git fetch --prune --unshallow --tags + - name: Setup Python + uses: actions/setup-python@v5 + with: + python-version: ${{ matrix.python-version }} + - name: Install pytest run: | pip install pytest pip install pytest-cov + - name: Install package run: | pip install -e ".[dandi]" diff --git a/.github/workflows/doc-link-checks.yml b/.github/workflows/doc-link-checks.yml index 3aaa4d5d8..c60e3f63a 100644 --- a/.github/workflows/doc-link-checks.yml +++ b/.github/workflows/doc-link-checks.yml @@ -9,10 +9,10 @@ jobs: strategy: fail-fast: false steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - run: git fetch --prune --unshallow --tags - name: Setup Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v5 with: python-version: 3.9 diff --git a/.github/workflows/read-nwbfile-tests.yml b/.github/workflows/read-nwbfile-tests.yml index d17d1522d..0a9253459 100644 --- a/.github/workflows/read-nwbfile-tests.yml +++ b/.github/workflows/read-nwbfile-tests.yml @@ -9,17 +9,21 @@ jobs: build-and-test: name: Streaming tests using ${{ matrix.os }} with ${{ matrix.python-version }} runs-on: ${{ matrix.os }} + defaults: + run: + shell: bash -l {0} # necessary for conda strategy: fail-fast: false matrix: os: ["ubuntu-latest", "windows-latest"] # TODO: update mac and streaming methods python-version: ["3.9", "3.10", "3.11", "3.12"] steps: - - uses: s-weigand/setup-conda@v1 + - uses: conda-incubator/setup-miniconda@v3 with: - update-conda: true + auto-update-conda: true python-version: ${{ matrix.python-version }} - - uses: actions/checkout@v3 + channels: conda-forge + - uses: actions/checkout@v4 - run: git fetch --prune --unshallow --tags - name: Install pytest diff --git a/.github/workflows/streaming-tests.yml b/.github/workflows/streaming-tests.yml index e6d555b0c..5871fa31a 100644 --- a/.github/workflows/streaming-tests.yml +++ b/.github/workflows/streaming-tests.yml @@ -15,12 +15,13 @@ jobs: os: ["ubuntu-latest", "windows-latest"] # TODO: update mac and streaming methods python-version: ["3.9", "3.10", "3.11", "3.12"] steps: - - uses: s-weigand/setup-conda@v1 + - uses: actions/checkout@v4 + - run: git fetch --prune --unshallow --tags + + - name: Setup Python + uses: actions/setup-python@v5 with: - update-conda: true python-version: ${{ matrix.python-version }} - - uses: actions/checkout@v3 - - run: git fetch --prune --unshallow --tags - name: Install pytest run: | diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index 9a8b80e9b..c818d7e6f 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -18,13 +18,13 @@ jobs: os: ["ubuntu-latest", "macos-13", "windows-latest"] python-version: ["3.9", "3.10", "3.11", "3.12"] steps: - - uses: conda-incubator/setup-miniconda@v3 + - uses: actions/checkout@v4 + - run: git fetch --prune --unshallow --tags + + - name: Setup Python + uses: actions/setup-python@v5 with: - auto-update-conda: true python-version: ${{ matrix.python-version }} - channels: conda-forge - - uses: actions/checkout@v3 - - run: git fetch --prune --unshallow --tags - name: Install pytest run: |