mirror of
https://github.com/netbox-community/devicetype-library.git
synced 2024-11-24 09:23:48 +01:00
updating actions versioning (#1871)
This commit is contained in:
parent
f7e55f3d60
commit
25ab2658a9
16
.github/workflows/build-cache.yml
vendored
16
.github/workflows/build-cache.yml
vendored
@ -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 }}
|
||||
|
8
.github/workflows/master-slugs.yml
vendored
8
.github/workflows/master-slugs.yml
vendored
@ -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 }}
|
||||
|
2
.github/workflows/stale.yml
vendored
2
.github/workflows/stale.yml
vendored
@ -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.
|
||||
|
@ -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 }}
|
||||
|
24
.github/workflows/validation.yml
vendored
24
.github/workflows/validation.yml
vendored
@ -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 }}
|
||||
|
Loading…
Reference in New Issue
Block a user