From 25ab2658a9be5dbac071d9ca42252e39c27dab83 Mon Sep 17 00:00:00 2001 From: "Daniel W. Anner" Date: Mon, 22 Jan 2024 11:31:30 -0500 Subject: [PATCH] updating actions versioning (#1871) --- .github/workflows/build-cache.yml | 16 ++++++------- .github/workflows/master-slugs.yml | 8 +++---- .github/workflows/stale.yml | 2 +- .github/workflows/update-generated-schema.yml | 8 +++---- .github/workflows/validation.yml | 24 +++++++++---------- 5 files changed, 29 insertions(+), 29 deletions(-) diff --git a/.github/workflows/build-cache.yml b/.github/workflows/build-cache.yml index 73fee4ac2..87c6582aa 100644 --- a/.github/workflows/build-cache.yml +++ b/.github/workflows/build-cache.yml @@ -9,14 +9,14 @@ jobs: name: Build Lint and Format Cache runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Setup Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 id: setup_python with: - python-version: '3.8' + python-version: '3.9' - name: cache virtualenv - uses: actions/cache@v3 + uses: actions/cache@v4 id: cache-venv with: path: ${{ env.pythonLocation }} @@ -33,14 +33,14 @@ jobs: name: Build PyTest Cache runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Setup Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 id: setup_python with: - python-version: '3.8' + python-version: '3.9' - name: cache virtualenv - uses: actions/cache@v3 + uses: actions/cache@v4 id: cache-venv-pytest with: path: ${{ env.pythonLocation }} diff --git a/.github/workflows/master-slugs.yml b/.github/workflows/master-slugs.yml index 5b995c817..397104280 100644 --- a/.github/workflows/master-slugs.yml +++ b/.github/workflows/master-slugs.yml @@ -10,14 +10,14 @@ jobs: permissions: contents: write steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Setup Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 id: setup_python with: - python-version: '3.8' + python-version: '3.9' - name: cache virtualenv - uses: actions/cache@v3 + uses: actions/cache@v4 id: cache-venv with: path: ${{ env.pythonLocation }} diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index 326f34d7e..38f8dbed9 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -11,7 +11,7 @@ jobs: issues: write pull-requests: write steps: - - uses: actions/stale@v8 + - uses: actions/stale@v9 with: close-pr-message: > This PR has been automatically closed due to lack of activity. Please reopen if you would like to to re-review it. diff --git a/.github/workflows/update-generated-schema.yml b/.github/workflows/update-generated-schema.yml index 53992a47f..32618e57a 100644 --- a/.github/workflows/update-generated-schema.yml +++ b/.github/workflows/update-generated-schema.yml @@ -17,16 +17,16 @@ jobs: uses: pozetroninc/github-action-get-latest-release@master with: repository: netbox-community/netbox - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 if: ${{ steps.netbox-release.outputs.release != vars.SCHEMA_VERSION }} - name: Setup Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 id: setup_python with: - python-version: '3.8' + python-version: '3.9' if: ${{ steps.netbox-release.outputs.release != vars.SCHEMA_VERSION }} - name: cache virtualenv - uses: actions/cache@v3 + uses: actions/cache@v4 id: cache-venv with: path: ${{ env.pythonLocation }} diff --git a/.github/workflows/validation.yml b/.github/workflows/validation.yml index b50d067da..398b13da6 100644 --- a/.github/workflows/validation.yml +++ b/.github/workflows/validation.yml @@ -8,14 +8,14 @@ jobs: lint: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Setup Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 id: setup_python with: - python-version: '3.8' + python-version: '3.9' - name: cache virtualenv - uses: actions/cache@v3 + uses: actions/cache@v4 id: cache-venv with: path: ${{ env.pythonLocation }} @@ -35,14 +35,14 @@ jobs: format: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Setup Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 id: setup_python with: - python-version: '3.8' + python-version: '3.9' - name: cache virtualenv - uses: actions/cache@v3 + uses: actions/cache@v4 id: cache-venv with: path: ${{ env.pythonLocation }} @@ -65,14 +65,14 @@ jobs: permissions: pull-requests: write steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Setup Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 id: setup_python with: - python-version: '3.8' + python-version: '3.9' - name: cache virtualenv - uses: actions/cache@v3 + uses: actions/cache@v4 id: cache-venv-pytest with: path: ${{ env.pythonLocation }}