From 1d5a80aff54e29f0aacdb7169112d05c5b411d7c Mon Sep 17 00:00:00 2001 From: Jennifer Cwagenberg Date: Fri, 5 Apr 2024 19:34:54 -0500 Subject: [PATCH] ci(actions): :arrow_up: update github action versions --- .github/dependabot.yml | 7 +++++++ .github/workflows/bandit.yml | 6 +++--- .github/workflows/black.yml | 2 +- .github/workflows/build.yml | 6 +++--- .github/workflows/mypy.yml | 6 +++--- .github/workflows/publish.yml | 4 ++-- .github/workflows/test.yml | 6 +++--- 7 files changed, 22 insertions(+), 15 deletions(-) create mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..567aeae --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,7 @@ +--- +version: 2 +updates: + - package-ecosystem: github-actions + directory: / + schedule: + interval: weekly diff --git a/.github/workflows/bandit.yml b/.github/workflows/bandit.yml index d07e713..36ae980 100644 --- a/.github/workflows/bandit.yml +++ b/.github/workflows/bandit.yml @@ -10,8 +10,8 @@ jobs: bandit: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: actions/setup-python@v2 + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 with: python-version: "3.8" - uses: snok/install-poetry@v1 @@ -21,7 +21,7 @@ jobs: installer-parallel: true - name: Load cached venv id: cached-poetry-dependencies - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: .venv key: venv-test-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }} diff --git a/.github/workflows/black.yml b/.github/workflows/black.yml index d00384b..e479d73 100644 --- a/.github/workflows/black.yml +++ b/.github/workflows/black.yml @@ -10,7 +10,7 @@ jobs: lint: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - uses: psf/black@stable with: version: "22.8.0" diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8610e19..e1c5221 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -14,10 +14,10 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: fetch-depth: 0 # Necessary to get tags - - uses: actions/setup-python@v2 + - uses: actions/setup-python@v5 with: python-version: "3.8" - uses: snok/install-poetry@v1 @@ -27,7 +27,7 @@ jobs: installer-parallel: true - name: Load cached venv id: cached-poetry-dependencies - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: .venv key: venv-prod-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }} diff --git a/.github/workflows/mypy.yml b/.github/workflows/mypy.yml index 015a42e..d0ec686 100644 --- a/.github/workflows/mypy.yml +++ b/.github/workflows/mypy.yml @@ -10,8 +10,8 @@ jobs: mypy: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: actions/setup-python@v2 + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 with: python-version: "3.8" - uses: snok/install-poetry@v1 @@ -21,7 +21,7 @@ jobs: installer-parallel: true - name: Load cached venv id: cached-poetry-dependencies - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: .venv key: venv-test-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }} diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index c05d5f8..a96c328 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -14,10 +14,10 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: fetch-depth: 0 # Necessary to get tags - - uses: actions/setup-python@v2 + - uses: actions/setup-python@v5 with: python-version: "3.8" - uses: snok/install-poetry@v1 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 1bdd5ee..cacb16b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -14,9 +14,9 @@ jobs: python-version: ["3.8", "3.9", "3.10", "3.11"] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v2 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - uses: snok/install-poetry@v1 @@ -26,7 +26,7 @@ jobs: installer-parallel: true - name: Load cached venv id: cached-poetry-dependencies - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: .venv key: venv-test-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}