From e1d2677e63d332f3467846aabc5718bb8b535b6c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20H=C3=B8xbro=20Hansen?= Date: Fri, 20 Sep 2024 09:33:43 +0200 Subject: [PATCH] General maintenance (#134) --- .github/workflows/build.yaml | 8 ++++---- .github/workflows/docs.yaml | 6 +++--- .github/workflows/jupyterlite.yaml | 6 +++--- .github/workflows/nightly_lock.yaml | 2 +- .github/workflows/test.yaml | 10 +++++----- .pre-commit-config.yaml | 4 ++-- 6 files changed, 18 insertions(+), 18 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index e8c80b79..c9bd887b 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -12,7 +12,7 @@ on: defaults: run: - shell: bash -el {0} + shell: bash -l {0} env: PYTHON_VERSION: "3.11" @@ -33,14 +33,14 @@ jobs: name: Pixi lock runs-on: ubuntu-latest steps: - - uses: holoviz-dev/holoviz_tasks/pixi_lock@pixi + - uses: holoviz-dev/holoviz_tasks/pixi_lock@v0 conda_build: name: Build Conda needs: [pixi_lock] runs-on: "ubuntu-latest" steps: - - uses: holoviz-dev/holoviz_tasks/pixi_install@pixi + - uses: holoviz-dev/holoviz_tasks/pixi_install@v0 with: environments: "build" download-data: false @@ -88,7 +88,7 @@ jobs: needs: [pixi_lock] runs-on: "ubuntu-latest" steps: - - uses: holoviz-dev/holoviz_tasks/pixi_install@pixi + - uses: holoviz-dev/holoviz_tasks/pixi_install@v0 with: environments: "build" download-data: false diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml index e4099863..ef1f20d9 100644 --- a/.github/workflows/docs.yaml +++ b/.github/workflows/docs.yaml @@ -22,14 +22,14 @@ on: defaults: run: - shell: bash -el {0} + shell: bash -l {0} jobs: pixi_lock: name: Pixi lock runs-on: ubuntu-latest steps: - - uses: holoviz-dev/holoviz_tasks/pixi_lock@pixi + - uses: holoviz-dev/holoviz_tasks/pixi_lock@v0 docs_build: name: Build Documentation @@ -41,7 +41,7 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} steps: - - uses: holoviz-dev/holoviz_tasks/pixi_install@pixi + - uses: holoviz-dev/holoviz_tasks/pixi_install@v0 with: environments: docs - name: Build documentation diff --git a/.github/workflows/jupyterlite.yaml b/.github/workflows/jupyterlite.yaml index 95d241c5..8025aee0 100644 --- a/.github/workflows/jupyterlite.yaml +++ b/.github/workflows/jupyterlite.yaml @@ -22,14 +22,14 @@ on: defaults: run: - shell: bash -el {0} + shell: bash -l {0} jobs: pixi_lock: name: Pixi lock runs-on: ubuntu-latest steps: - - uses: holoviz-dev/holoviz_tasks/pixi_lock@pixi + - uses: holoviz-dev/holoviz_tasks/pixi_lock@v0 lite_build: name: Build Jupyterlite @@ -41,7 +41,7 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} steps: - - uses: holoviz-dev/holoviz_tasks/pixi_install@pixi + - uses: holoviz-dev/holoviz_tasks/pixi_install@v0 with: environments: lite - name: Build diff --git a/.github/workflows/nightly_lock.yaml b/.github/workflows/nightly_lock.yaml index 5af3573a..1da255e5 100644 --- a/.github/workflows/nightly_lock.yaml +++ b/.github/workflows/nightly_lock.yaml @@ -13,7 +13,7 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 5 steps: - - uses: holoviz-dev/holoviz_tasks/pixi_lock@pixi + - uses: holoviz-dev/holoviz_tasks/pixi_lock@v0 - name: Upload lock-file to S3 if: "!github.event.pull_request.head.repo.fork" env: diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index d5726f3a..f40dcd72 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -27,7 +27,7 @@ concurrency: defaults: run: - shell: bash -el {0} + shell: bash -l {0} env: DISPLAY: ":99.0" @@ -104,7 +104,7 @@ jobs: name: Pixi lock runs-on: ubuntu-latest steps: - - uses: holoviz-dev/holoviz_tasks/pixi_lock@pixi + - uses: holoviz-dev/holoviz_tasks/pixi_lock@v0 with: cache: ${{ github.event.inputs.cache == 'true' || github.event.inputs.cache == '' }} @@ -117,7 +117,7 @@ jobs: matrix: ${{ fromJson(needs.setup.outputs.matrix) }} timeout-minutes: 120 steps: - - uses: holoviz-dev/holoviz_tasks/pixi_install@pixi + - uses: holoviz-dev/holoviz_tasks/pixi_install@v0 if: needs.setup.outputs.code_change == 'true' with: environments: ${{ matrix.environment }} @@ -145,7 +145,7 @@ jobs: environment: ["test-core"] timeout-minutes: 120 steps: - - uses: holoviz-dev/holoviz_tasks/pixi_install@pixi + - uses: holoviz-dev/holoviz_tasks/pixi_install@v0 if: needs.setup.outputs.code_change == 'true' with: environments: ${{ matrix.environment }} @@ -165,7 +165,7 @@ jobs: environment: ["test-benchmark"] timeout-minutes: 120 steps: - - uses: holoviz-dev/holoviz_tasks/pixi_install@pixi + - uses: holoviz-dev/holoviz_tasks/pixi_install@v0 if: needs.setup.outputs.code_change == 'true' with: environments: ${{ matrix.environment }} diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 07798d0f..b7e1db90 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -20,7 +20,7 @@ repos: - id: check-json - id: detect-private-key - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.6.0 + rev: v0.6.6 hooks: - id: ruff files: holonote/ @@ -51,7 +51,7 @@ repos: - yaml - css - repo: https://github.com/hoxbro/taplo-pre-commit - rev: v0.7.0 + rev: v0.9.3 hooks: - id: taplo args: