|
|
@@ -41,10 +41,10 @@ jobs:
|
|
|
docs: ${{ steps.filter.outputs.docs }}
|
|
|
steps:
|
|
|
- name: Check out repo
|
|
|
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
|
|
+ uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
|
|
|
|
- name: Detect changed files
|
|
|
- uses: dorny/paths-filter@fbd0ab8f3e69293af611ebaee6363fc25e6d187d # v4.0.1
|
|
|
+ uses: dorny/paths-filter@ceb8a2b8f2d89434be7ff52d3de7ec3738c5cc9d # v4.0.3
|
|
|
id: filter
|
|
|
with:
|
|
|
filters: |
|
|
|
@@ -65,10 +65,10 @@ jobs:
|
|
|
runs-on: ubuntu-latest
|
|
|
steps:
|
|
|
- name: Check out repo
|
|
|
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
|
|
+ uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
|
|
|
|
- name: Check Python linting & PEP8 compliance
|
|
|
- uses: astral-sh/ruff-action@0ce1b0bf8b818ef400413f810f8a11cdbda0034b # v4.0.0
|
|
|
+ uses: astral-sh/ruff-action@278981a28ce3188b1e39527901f38254bf3aac89 # v4.1.0
|
|
|
with:
|
|
|
version: "0.15.20"
|
|
|
args: "check --output-format=github"
|
|
|
@@ -92,11 +92,11 @@ jobs:
|
|
|
coverage: true
|
|
|
services:
|
|
|
redis:
|
|
|
- image: redis
|
|
|
+ image: redis:8
|
|
|
ports:
|
|
|
- 6379:6379
|
|
|
postgres:
|
|
|
- image: postgres
|
|
|
+ image: postgres:18
|
|
|
env:
|
|
|
POSTGRES_USER: netbox
|
|
|
POSTGRES_PASSWORD: netbox
|
|
|
@@ -110,10 +110,10 @@ jobs:
|
|
|
|
|
|
steps:
|
|
|
- name: Check out repo
|
|
|
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
|
|
+ uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
|
|
|
|
- name: Set up Python ${{ matrix.python-version }}
|
|
|
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
|
|
|
+ uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
|
|
|
with:
|
|
|
python-version: ${{ matrix.python-version }}
|
|
|
|
|
|
@@ -154,10 +154,10 @@ jobs:
|
|
|
runs-on: ubuntu-latest
|
|
|
steps:
|
|
|
- name: Check out repo
|
|
|
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
|
|
+ uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
|
|
|
|
- name: Use Node.js 20.x
|
|
|
- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
|
|
|
+ uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
|
|
|
with:
|
|
|
node-version: '20.x'
|
|
|
|
|
|
@@ -165,7 +165,7 @@ jobs:
|
|
|
run: npm install -g yarn
|
|
|
|
|
|
- name: Setup Node.js with Yarn Caching
|
|
|
- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
|
|
|
+ uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
|
|
|
with:
|
|
|
node-version: '20.x'
|
|
|
cache: yarn
|
|
|
@@ -190,10 +190,10 @@ jobs:
|
|
|
runs-on: ubuntu-latest
|
|
|
steps:
|
|
|
- name: Check out repo
|
|
|
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
|
|
+ uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
|
|
|
|
- name: Set up Python 3.12
|
|
|
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
|
|
|
+ uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
|
|
|
with:
|
|
|
python-version: '3.12'
|
|
|
|