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
2 changes: 1 addition & 1 deletion .github/workflows/cleanup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
with:
ref: 'gh-pages'
- name: Check For Doc Directory
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
- name: Set up Python 3.11
uses: actions/setup-python@v5
uses: actions/setup-python@v7
with:
python-version: "3.11"

Expand Down Expand Up @@ -47,9 +47,9 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
- name: Set up Python 3.11
uses: actions/setup-python@v5
uses: actions/setup-python@v7
with:
python-version: "3.11"

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/hardware-recover.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:
group: hw-place-${{ vars.ADI_LG_COORDINATOR }}-${{ inputs.place }}
cancel-in-progress: false
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7

- name: Setup uv venv
uses: tfcollins/labgrid-plugins/.github/actions/setup-uv-venv@main
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/iio-context-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,19 +25,19 @@
steps:
# allow-unsafe-pr-checkout relies on the `external-pr` required-reviewers rule
# codeql[actions/unsafe-checkout] manual review required via `external-pr` environment approval gate
- uses: actions/checkout@v4
- uses: actions/checkout@v7
with:
ref: ${{ github.event.pull_request.head.sha }}
repository: ${{ github.event.pull_request.head.repo.full_name }}
fetch-depth: 0
persist-credentials: false
allow-unsafe-pr-checkout: true
# origin is the PR head repo (possibly a fork), so fetch the base branch
# from this repository into the ref detect_new_classes.py reads
- name: Fetch base branch

Check failure

Code scanning / CodeQL

Checkout of untrusted code in a privileged context Critical

Checkout of untrusted code from
github.event.pull_request.head.sha
in a privileged workflow with later potential execution (event trigger:
pull_request_target
).
run: git fetch --no-tags https://github.com/${{ github.repository }}.git +refs/heads/${{ github.event.pull_request.base.ref }}:refs/remotes/origin/${{ github.event.pull_request.base.ref }}
- name: Set up Python 3.11
uses: actions/setup-python@v5
uses: actions/setup-python@v7
with:
python-version: "3.11"
- name: Install PyYAML
Expand All @@ -60,14 +60,14 @@
steps:
# allow-unsafe-pr-checkout relies on the `external-pr` required-reviewers rule
# codeql[actions/unsafe-checkout] manual review required via `external-pr` environment approval gate
- uses: actions/checkout@v4
- uses: actions/checkout@v7
with:
ref: ${{ github.event.pull_request.head.sha }}
repository: ${{ github.event.pull_request.head.repo.full_name }}
persist-credentials: false
allow-unsafe-pr-checkout: true
- name: Set up Python 3.11

Check failure

Code scanning / CodeQL

Checkout of untrusted code in a privileged context Critical

Checkout of untrusted code from
github.event.pull_request.head.sha
in a privileged workflow with later potential execution (event trigger:
pull_request_target
).
Checkout of untrusted code from
github.event.pull_request.head.sha
in a privileged workflow with later potential execution (event trigger:
pull_request_target
).
Checkout of untrusted code from
github.event.pull_request.head.sha
in a privileged workflow with later potential execution (event trigger:
pull_request_target
).
uses: actions/setup-python@v5
uses: actions/setup-python@v7
with:
python-version: "3.11"
- name: Install dependencies
Expand All @@ -94,7 +94,7 @@
# Always post the report, even when the coverage threshold check fails,
# so reviewers can see which attributes are untested.
if: always() && hashFiles('coverage_pr_comment.md') != ''
uses: mshick/add-pr-comment@v2
uses: mshick/add-pr-comment@v3
with:
message-id: iio-context-coverage
message-path: coverage_pr_comment.md
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
- name: Set up Python 3.11
uses: actions/setup-python@v5
uses: actions/setup-python@v7
with:
python-version: '3.11'

Expand All @@ -28,7 +28,7 @@ jobs:
invoke bumpversion-test
python -m build

- uses: pypa/gh-action-pypi-publish@release/v1
- uses: pypa/gh-action-pypi-publish@v1.14.3
with:
password: ${{ secrets.TEST_PYPI_TOKEN }}
repository_url: https://test.pypi.org/legacy/
36 changes: 18 additions & 18 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ jobs:
libiio: ['main', 'v0.26']

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
uses: actions/setup-python@v7
with:
python-version: ${{ matrix.python-version }}

Expand All @@ -35,9 +35,9 @@ jobs:
python-version: ["3.11"]

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
uses: actions/setup-python@v7
with:
python-version: ${{ matrix.python-version }}

Expand Down Expand Up @@ -74,9 +74,9 @@ jobs:
python-version: ["3.11", "3.12"]

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
uses: actions/setup-python@v7
with:
python-version: ${{ matrix.python-version }}

Expand All @@ -97,9 +97,9 @@ jobs:
runs-on: ubuntu-22.04

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
- name: Set up Python 3.11
uses: actions/setup-python@v5
uses: actions/setup-python@v7
with:
python-version: "3.11"

Expand All @@ -121,9 +121,9 @@ jobs:
if: github.ref == 'refs/heads/main'

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
- name: Set up Python 3.11
uses: actions/setup-python@v5
uses: actions/setup-python@v7
with:
python-version: "3.11"

Expand All @@ -140,7 +140,7 @@ jobs:
cd ..

- name: Publish doc
uses: peaceiris/actions-gh-pages@v3
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./doc/build/dirhtml
Expand All @@ -152,9 +152,9 @@ jobs:
# Only run on pull requests to main and non-forks
if: github.event_name == 'pull_request' && github.base_ref == 'main' && ! github.event.pull_request.head.repo.fork
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
- name: Set up Python 3.11
uses: actions/setup-python@v5
uses: actions/setup-python@v7
with:
python-version: "3.11"

Expand All @@ -180,7 +180,7 @@ jobs:
destination_dir: prs/${{ github.head_ref }}

- name: Add comment to PR
uses: mshick/add-pr-comment@v2
uses: mshick/add-pr-comment@v3
with:
message: |
Generated documentation for this PR is available at [Link](https://analogdevicesinc.github.io/pyadi-iio/prs/${{ github.head_ref }}/index.html)
Expand All @@ -191,9 +191,9 @@ jobs:
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
- name: Set up Python 3.11
uses: actions/setup-python@v5
uses: actions/setup-python@v7
with:
python-version: "3.11"

Expand All @@ -212,13 +212,13 @@ jobs:
python -m build

- name: Publish doc
uses: peaceiris/actions-gh-pages@v3
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./doc/build/dirhtml

- name: Publish package
uses: pypa/gh-action-pypi-publish@master
uses: pypa/gh-action-pypi-publish@v1.14.3
with:
user: __token__
password: ${{ secrets.PYPI_TOKEN }}
4 changes: 2 additions & 2 deletions .github/workflows/win-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ jobs:
os: ["windows-latest"]
python-version: ["3.11", "3.12", "3.13", "3.14"]
steps:
- uses: actions/checkout@v4
- uses: conda-incubator/setup-miniconda@v2
- uses: actions/checkout@v7
- uses: conda-incubator/setup-miniconda@v4
with:
auto-update-conda: true
python-version: ${{ matrix.python-version }}
Expand Down
Loading