Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 14 additions & 14 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
INVOKE_NETUTILS_LOCAL: "True"
steps:
- name: "Check out repository code"
uses: "actions/checkout@v4"
uses: "actions/checkout@v7"
- name: "Setup environment"
uses: "networktocode/gh-action-setup-poetry-environment@v7"
with:
Expand All @@ -34,7 +34,7 @@ jobs:
INVOKE_NETUTILS_LOCAL: "True"
steps:
- name: "Check out repository code"
uses: "actions/checkout@v4"
uses: "actions/checkout@v7"
- name: "Setup environment"
uses: "networktocode/gh-action-setup-poetry-environment@v7"
with:
Expand All @@ -47,9 +47,9 @@ jobs:
INVOKE_NETUTILS_LOCAL: "True"
steps:
- name: "Check out repository code"
uses: "actions/checkout@v4"
uses: "actions/checkout@v7"
- name: "Setup environment"
uses: "networktocode/gh-action-setup-poetry-environment@v6"
uses: "networktocode/gh-action-setup-poetry-environment@v7"
with:
python-version: "3.13"
- name: "Type-Hints: mypy"
Expand All @@ -63,7 +63,7 @@ jobs:
INVOKE_NETUTILS_LOCAL: "True"
steps:
- name: "Check out repository code"
uses: "actions/checkout@v4"
uses: "actions/checkout@v7"
- name: "Setup environment"
uses: "networktocode/gh-action-setup-poetry-environment@v7"
with:
Expand All @@ -77,7 +77,7 @@ jobs:
INVOKE_NETUTILS_LOCAL: "True"
steps:
- name: "Check out repository code"
uses: "actions/checkout@v4"
uses: "actions/checkout@v7"
- name: "Setup environment"
uses: "networktocode/gh-action-setup-poetry-environment@v7"
with:
Expand All @@ -90,7 +90,7 @@ jobs:
INVOKE_NETUTILS_LOCAL: "True"
steps:
- name: "Check out repository code"
uses: "actions/checkout@v4"
uses: "actions/checkout@v7"
- name: "Setup environment"
uses: "networktocode/gh-action-setup-poetry-environment@v7"
with:
Expand All @@ -112,7 +112,7 @@ jobs:
INVOKE_NETUTILS_PYTHON_VER: "${{ matrix.python-version }}"
steps:
- name: "Check out repository code"
uses: "actions/checkout@v4"
uses: "actions/checkout@v7"
- name: "Setup environment"
uses: "networktocode/gh-action-setup-poetry-environment@v7"
with:
Expand All @@ -121,9 +121,9 @@ jobs:
run: "echo INVOKE_NETUTILS_IMAGE_VER=`poetry version -s`-py${{ matrix.python-version }} >> $GITHUB_ENV"
- name: "Set up Docker Buildx"
id: "buildx"
uses: "docker/setup-buildx-action@b5ca514318bd6ebac0fb2aedd5d36ec1b5c232a2" # v3.10.0
uses: "docker/setup-buildx-action@37fe631027851001ddb9b187196cc803df7f5f0e" # v4.3.0
- name: "Build"
uses: "docker/build-push-action@ca052bb54ab0790a636c9b5f226502c73d547a25" # v5.4.0
uses: "docker/build-push-action@53b7df96c91f9c12dcc8a07bcb9ccacbed38856a" # v7.3.0
with:
builder: "${{ steps.buildx.outputs.name }}"
context: "./"
Expand All @@ -149,7 +149,7 @@ jobs:
INVOKE_NETUTILS_PYTHON_VER: "${{ matrix.python-version }}"
steps:
- name: "Check out repository code"
uses: "actions/checkout@v4"
uses: "actions/checkout@v7"
- name: "Setup environment"
uses: "networktocode/gh-action-setup-poetry-environment@v7"
with:
Expand All @@ -158,9 +158,9 @@ jobs:
run: "echo INVOKE_NETUTILS_IMAGE_VER=`poetry version -s`-py${{ matrix.python-version }} >> $GITHUB_ENV"
- name: "Set up Docker Buildx"
id: "buildx"
uses: "docker/setup-buildx-action@b5ca514318bd6ebac0fb2aedd5d36ec1b5c232a2" # v3.10.0
uses: "docker/setup-buildx-action@37fe631027851001ddb9b187196cc803df7f5f0e" # v4.3.0
- name: "Build"
uses: "docker/build-push-action@ca052bb54ab0790a636c9b5f226502c73d547a25" # v5.4.0
uses: "docker/build-push-action@53b7df96c91f9c12dcc8a07bcb9ccacbed38856a" # v7.3.0
with:
builder: "${{ steps.buildx.outputs.name }}"
context: "./"
Expand All @@ -181,7 +181,7 @@ jobs:
runs-on: "ubuntu-latest"
steps:
- name: "Check out repository code"
uses: "actions/checkout@v4"
uses: "actions/checkout@v7"
with:
fetch-depth: "0"
- name: "Setup environment"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/oui_filepull.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
BRANCH_NAME: "OUI_Updates"
steps:
- name: "Check out code"
uses: "actions/checkout@v4"
uses: "actions/checkout@v7"
with:
ref: "develop"
fetch-depth: 0
Expand Down Expand Up @@ -73,7 +73,7 @@ jobs:
steps:
# Checkout repo
- name: "Check out code"
uses: "actions/checkout@v4"
uses: "actions/checkout@v7"
with:
ref: "OUI_Updates"
# Create PR from branch created above into develop
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/prepare_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
runs-on: "ubuntu-latest"
steps:
- name: "Checkout code"
uses: "actions/checkout@v4"
uses: "actions/checkout@v7"
with:
# If target_branch is 'main', use 'develop' as the source branch. Otherwise, the source and target branch are the same.
ref: "${{ github.event.inputs['target_branch'] == 'main' && 'develop' || github.event.inputs['target_branch'] }}"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/proto_filepull.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
steps:
# Checkout repo
- name: "Check out code"
uses: "actions/checkout@v4"
uses: "actions/checkout@v7"
with:
ref: "develop"
# Delete old branch if it exists
Expand Down Expand Up @@ -46,7 +46,7 @@ jobs:
steps:
# Checkout repo
- name: "Check out code"
uses: "actions/checkout@v4"
uses: "actions/checkout@v7"
with:
ref: "PROTO_Updates"
# Create PR from branch created above into develop
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/proto_num_filepull.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
steps:
# Checkout repo
- name: "Check out code"
uses: "actions/checkout@v4"
uses: "actions/checkout@v7"
with:
ref: "develop"
# Delete old branch if it exists
Expand Down Expand Up @@ -46,7 +46,7 @@ jobs:
steps:
# Checkout repo
- name: "Check out code"
uses: "actions/checkout@v4"
uses: "actions/checkout@v7"
with:
ref: "PROTO_NUM_Updates"
# Create PR from branch created above into develop
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,15 @@ on: # yamllint disable-line rule:truthy rule:comments
env:
POETRY_VERSION: "2.1.3"
PYTHON_VERSION: "3.12"
INVOKE_NETUTILS_LOCAL: "True"

jobs:
build:
name: "Build package with poetry"
runs-on: "ubuntu-latest"
if: "startsWith(github.ref, 'refs/tags/v')"
steps:
- uses: "actions/checkout@v4"
- uses: "actions/checkout@v7"
- name: "Setup environment"
uses: "networktocode/gh-action-setup-poetry-environment@v7"
with:
Expand Down Expand Up @@ -44,7 +45,7 @@ jobs:
contents: "write"
needs: "build"
steps:
- uses: "actions/checkout@v4"
- uses: "actions/checkout@v7"
- name: "Retrieve built package from cache"
uses: "actions/download-artifact@v4"
with:
Expand Down Expand Up @@ -121,7 +122,7 @@ jobs:
runs-on: "ubuntu-latest"
steps:
- name: "Checkout source branch"
uses: "actions/checkout@v4"
uses: "actions/checkout@v7"
with:
ref: "${{ github.event.release.target_commitish }}"
fetch-depth: 0
Expand Down
1 change: 1 addition & 0 deletions changes/+checkout-action.housekeeping
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Upgrade GitHub actions/checkout@v4 to @v7.
1 change: 1 addition & 0 deletions changes/893.fixed
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fixed the release process failing due to missing local environment invoke variable.