From 471c4b9c7fe75542cd6d703844dfcfeb4391c984 Mon Sep 17 00:00:00 2001 From: Val Hendrix Date: Thu, 7 Nov 2024 13:45:21 -0800 Subject: [PATCH] chore(githu-actions): bumps up versions removes deprecated upload-artifact gh action --- .github/workflows/lint_helm.yaml | 6 +++--- .github/workflows/pages.yaml | 2 +- .github/workflows/tests.yml | 15 ++++----------- 3 files changed, 8 insertions(+), 15 deletions(-) diff --git a/.github/workflows/lint_helm.yaml b/.github/workflows/lint_helm.yaml index c83a6d8a..f95d76e4 100644 --- a/.github/workflows/lint_helm.yaml +++ b/.github/workflows/lint_helm.yaml @@ -12,16 +12,16 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 - name: Set up Helm - uses: azure/setup-helm@v2 + uses: azure/setup-helm@v4 with: version: v3.4.0 - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v5 with: python-version: 3.7 diff --git a/.github/workflows/pages.yaml b/.github/workflows/pages.yaml index bdb309d7..a9cfc624 100644 --- a/.github/workflows/pages.yaml +++ b/.github/workflows/pages.yaml @@ -27,7 +27,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up Python 3.9 uses: actions/setup-python@v4 with: diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index ef36e09b..b0f90159 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -12,9 +12,9 @@ jobs: python-version: ['3.9', '3.10'] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - name: Install dependencies @@ -23,14 +23,7 @@ jobs: sudo apt-get install -y python-dev-is-python3 libldap2-dev libsasl2-dev libssl-dev python -m pip install --upgrade pip pip install ".[dev]" - - name: Make artifact directory - run: | - mkdir -p ${{ github.workspace }}/artifacts - name: Test with pytest run: | - PYTHONPATH=. pytest -m "not flake8 and not mypy" --cov=. --cov-report term --cov-report html:${{ github.workspace }}/artifacts - - name: Archive code coverage results - uses: actions/upload-artifact@v3 - with: - name: code-coverage-report - path: ${{ github.workspace }}/artifacts + PYTHONPATH=. pytest -m "not flake8 and not mypy" --cov=. --cov-report term-missing +