From f7b454a03a19b051536df952dbb11ced592595ef Mon Sep 17 00:00:00 2001 From: Philip Meier Date: Thu, 19 Jan 2023 14:42:55 +0100 Subject: [PATCH] update CI dependencies (#119) --- .github/actions/setup-dev-env/action.yml | 11 +++-------- .github/workflows/check-pytorch-package-indices.yml | 2 +- .github/workflows/install.yml | 2 +- .github/workflows/lint.yml | 2 +- .github/workflows/linux-nightly-install.yml | 2 +- .github/workflows/publish.yml | 2 +- .github/workflows/publishable.yml | 2 +- .github/workflows/tests-pip-latest.yml | 2 +- .github/workflows/tests.yml | 4 ++-- 9 files changed, 12 insertions(+), 17 deletions(-) diff --git a/.github/actions/setup-dev-env/action.yml b/.github/actions/setup-dev-env/action.yml index 3ae196c..146a3d2 100644 --- a/.github/actions/setup-dev-env/action.yml +++ b/.github/actions/setup-dev-env/action.yml @@ -10,7 +10,7 @@ runs: steps: - name: Set up python - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: python-version: ${{ inputs.python-version }} @@ -23,7 +23,7 @@ runs: echo "path=${CACHE_PATH}" >> $GITHUB_OUTPUT - name: Restore pip cache - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: ${{ steps.get-cache-path.outputs.path }} key: ${{ runner.os }}-pip-${{ hashFiles('requirements-dev.txt') }} @@ -34,13 +34,8 @@ runs: shell: bash run: python -m pip install --upgrade pip wheel - - name: Checkout repository - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - name: Install development requirements and project shell: bash run: | - pip install doit + pip install doit tomlkit doit install diff --git a/.github/workflows/check-pytorch-package-indices.yml b/.github/workflows/check-pytorch-package-indices.yml index 33b94b3..5a0868f 100644 --- a/.github/workflows/check-pytorch-package-indices.yml +++ b/.github/workflows/check-pytorch-package-indices.yml @@ -16,7 +16,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: fetch-depth: 0 diff --git a/.github/workflows/install.yml b/.github/workflows/install.yml index 3973b30..af0b70e 100644 --- a/.github/workflows/install.yml +++ b/.github/workflows/install.yml @@ -90,7 +90,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: fetch-depth: 0 diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index a2f10c5..6b02794 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -14,7 +14,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: fetch-depth: 0 diff --git a/.github/workflows/linux-nightly-install.yml b/.github/workflows/linux-nightly-install.yml index 9e1f67a..a828d43 100644 --- a/.github/workflows/linux-nightly-install.yml +++ b/.github/workflows/linux-nightly-install.yml @@ -24,7 +24,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: fetch-depth: 0 diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 0ec5fff..51b30f1 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -11,7 +11,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: fetch-depth: 0 diff --git a/.github/workflows/publishable.yml b/.github/workflows/publishable.yml index a19f09e..ccd666c 100644 --- a/.github/workflows/publishable.yml +++ b/.github/workflows/publishable.yml @@ -27,7 +27,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: fetch-depth: 0 diff --git a/.github/workflows/tests-pip-latest.yml b/.github/workflows/tests-pip-latest.yml index 59e12d0..d64d3e1 100644 --- a/.github/workflows/tests-pip-latest.yml +++ b/.github/workflows/tests-pip-latest.yml @@ -23,7 +23,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: fetch-depth: 0 diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 0afa9e0..c9a84d1 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -43,7 +43,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: fetch-depth: 0 @@ -56,7 +56,7 @@ jobs: run: doit test - name: Upload coverage - uses: codecov/codecov-action@v2.1.0 + uses: codecov/codecov-action@v3 with: flags: unit env_vars: OS,PYTHON_VERSION