Skip to content
Merged
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
4 changes: 2 additions & 2 deletions .github/actions/deps/ports/espressif/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@ runs:
shell: bash

- name: Cache IDF submodules
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: |
.git/modules/ports/espressif/esp-idf
ports/espressif/esp-idf
key: submodules-idf-${{ steps.idf-commit.outputs.commit }}

- name: Cache IDF tools
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: ${{ env.IDF_TOOLS_PATH }}
key: ${{ runner.os }}-${{ env.pythonLocation }}-tools-idf-${{ steps.idf-commit.outputs.commit }}
Expand Down
4 changes: 2 additions & 2 deletions .github/actions/deps/python/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@ runs:
- name: Cache python dependencies
id: cache-python-deps
if: inputs.action == 'cache'
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: .cp_tools
key: ${{ runner.os }}-${{ env.pythonLocation }}-tools-cp-${{ hashFiles('requirements-dev.txt') }}

- name: Restore python dependencies
id: restore-python-deps
if: inputs.action == 'restore'
uses: actions/cache/restore@v4
uses: actions/cache/restore@v5
with:
path: .cp_tools
key: ${{ runner.os }}-${{ env.pythonLocation }}-tools-cp-${{ hashFiles('requirements-dev.txt') }}
Expand Down
4 changes: 2 additions & 2 deletions .github/actions/deps/submodules/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,15 +48,15 @@ runs:

- name: Cache submodules
if: ${{ inputs.action == 'cache' }}
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: ".git/modules/\n${{ join(fromJSON(steps.create-submodule-status.outputs.submodules), '\n') }}"
key: submodules-common-${{ hashFiles('submodule_status') }}
enableCrossOsArchive: true

- name: Restore submodules
if: ${{ inputs.action == 'restore' }}
uses: actions/cache/restore@v4
uses: actions/cache/restore@v5
with:
path: ".git/modules/\n${{ join(fromJSON(steps.create-submodule-status.outputs.submodules), '\n') }}"
key: submodules-common-${{ hashFiles('submodule_status') }}
Expand Down
4 changes: 2 additions & 2 deletions .github/actions/mpy_cross/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ runs:
id: download-mpy-cross
if: inputs.download == 'true'
continue-on-error: true
uses: actions/download-artifact@v4
uses: actions/download-artifact@v8
with:
name: mpy-cross
path: mpy-cross/build
Expand All @@ -36,7 +36,7 @@ runs:
- name: Upload mpy-cross
if: inputs.download == 'false' || steps.download-mpy-cross.outcome == 'failure'
continue-on-error: true
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: mpy-cross
path: mpy-cross/build/mpy-cross
4 changes: 2 additions & 2 deletions .github/workflows/build-board-custom.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ jobs:
run: |
> custom-build && git add custom-build
- name: Set up python
uses: actions/setup-python@v5
uses: actions/setup-python@v6
with:
python-version: 3.x
- name: Board to port
Expand Down Expand Up @@ -124,7 +124,7 @@ jobs:
run: make -j4 $FLAGS BOARD="$BOARD" DEBUG=$DEBUG TRANSLATION="$TRANSLATION"
working-directory: ports/${{ steps.board-to-port.outputs.port }}
- name: Upload artifact
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: ${{ inputs.board }}-${{ inputs.language }}-${{ inputs.version }}${{ inputs.flags != '' && '-custom' || '' }}${{ inputs.debug && '-debug' || '' }}
path: ports/${{ steps.board-to-port.outputs.port }}/build-${{ inputs.board }}/firmware.*
6 changes: 3 additions & 3 deletions .github/workflows/build-boards.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,15 @@ jobs:
board: ${{ fromJSON(inputs.boards) }}
steps:
- name: Set up repository
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
submodules: false
show-progress: false
fetch-depth: 1
persist-credentials: false

- name: Set up python
uses: actions/setup-python@v5
uses: actions/setup-python@v6
with:
python-version: 3.x

Expand Down Expand Up @@ -87,7 +87,7 @@ jobs:
HEAD_COMMIT_MESSAGE: ${{ github.event.head_commit.message }}

- name: Upload artifact
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: ${{ matrix.board }}
path: bin/${{ matrix.board }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/build-mpy-cross.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,14 @@ jobs:
OS_static-raspbian: linux-raspbian
steps:
- name: Set up repository
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
submodules: false
show-progress: false
fetch-depth: 1
persist-credentials: false
- name: Set up python
uses: actions/setup-python@v5
uses: actions/setup-python@v6
with:
python-version: 3.x
- name: Set up submodules
Expand Down Expand Up @@ -66,7 +66,7 @@ jobs:
echo >> $GITHUB_ENV "OS=$OS"

- name: Upload artifact
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: mpy-cross.${{ env.EX }}
path: mpy-cross/build-${{ matrix.mpy-cross }}/mpy-cross.${{ env.EX }}
Expand Down
26 changes: 13 additions & 13 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,14 @@ jobs:
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
- name: Set up repository
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
submodules: false
show-progress: false
fetch-depth: 1
persist-credentials: false
- name: Set up python
uses: actions/setup-python@v5
uses: actions/setup-python@v6
with:
python-version: 3.x
- name: Duplicate USB VID/PID check
Expand Down Expand Up @@ -114,14 +114,14 @@ jobs:
CP_VERSION: ${{ needs.scheduler.outputs.cp-version }}
steps:
- name: Set up repository
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
submodules: false
show-progress: false
fetch-depth: 1
persist-credentials: false
- name: Set up python
uses: actions/setup-python@v5
uses: actions/setup-python@v6
with:
python-version: 3.x
- name: Set up submodules
Expand All @@ -133,7 +133,7 @@ jobs:
msgfmt --version
- name: Build mpy-cross (arm64)
run: make -C mpy-cross -j4 -f Makefile.m1 V=2
- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v7
with:
name: mpy-cross-macos-arm64
path: mpy-cross/build-arm64/mpy-cross-arm64
Expand All @@ -156,14 +156,14 @@ jobs:
CP_VERSION: ${{ needs.scheduler.outputs.cp-version }}
steps:
- name: Set up repository
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
submodules: false
show-progress: false
fetch-depth: 1
persist-credentials: false
- name: Set up python
uses: actions/setup-python@v5
uses: actions/setup-python@v6
with:
python-version: 3.x
- name: Set up submodules
Expand All @@ -177,20 +177,20 @@ jobs:
pip install -r requirements-doc.txt
- name: Build and Validate Stubs
run: make check-stubs -j4
- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v7
with:
name: stubs
path: circuitpython-stubs/dist/*
- name: Test Documentation Build (HTML)
run: sphinx-build -E -W -b html -D version="$CP_VERSION" -D release="$CP_VERSION" . _build/html
- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v7
with:
name: docs-html
path: _build/html
- name: Test Documentation Build (LaTeX/PDF)
run: |
make latexpdf
- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v7
with:
name: docs-latexpdf
path: _build/latex
Expand Down Expand Up @@ -260,7 +260,7 @@ jobs:
which python; python --version; python -c "import cascadetoml"
which python3; python3 --version; python3 -c "import cascadetoml"
- name: Set up repository
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
submodules: false
show-progress: false
Expand Down Expand Up @@ -295,13 +295,13 @@ jobs:
CP_VERSION: ${{ needs.scheduler.outputs.cp-version }}
steps:
- name: Set up repository
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
submodules: false
show-progress: false
fetch-depth: 1
persist-credentials: false
- uses: actions/setup-python@v5
- uses: actions/setup-python@v6
with:
python-version: '3.13'
- name: Set up Zephyr
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/bundle_cron.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,18 +29,18 @@ jobs:
if: startswith(github.repository, 'adafruit/')
steps:
- name: Set up Python 3.12
uses: actions/setup-python@v5
uses: actions/setup-python@v6
with:
python-version: 3.12
- name: Load contributor cache
uses: actions/cache@v4
uses: actions/cache@v5
with:
key: "contributor-cache"
path: "contributors.json"
- name: Versions
run: |
python3 --version
- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
repository: 'adafruit/adabot'
submodules: true
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/create-website-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@ jobs:
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
- name: Set up repository
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
submodules: false
show-progress: false
fetch-depth: 1
persist-credentials: false
- name: Set up python
uses: actions/setup-python@v5
uses: actions/setup-python@v6
with:
python-version: 3.x
- name: Set up submodules
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/learn_cron.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
# default branches).
if: ${{ (github.repository_owner == 'adafruit') }}
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
repository: ${{ github.repository_owner }}/Adafruit_Learning_System_Guides
token: ${{ secrets.ADABOT_GITHUB_ACCESS_TOKEN }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@ jobs:
runs-on: ubuntu-24.04
steps:
- name: Set up repository
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
submodules: false
show-progress: false
fetch-depth: 1
persist-credentials: false
- name: Set up python
uses: actions/setup-python@v5
uses: actions/setup-python@v6
with:
python-version: 3.x
- name: Set up submodules
Expand All @@ -42,7 +42,7 @@ jobs:
run: git diff > ~/pre-commit.patch
- name: Upload patch
if: failure()
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: patch
path: ~/pre-commit.patch
4 changes: 2 additions & 2 deletions .github/workflows/reports_cron.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,13 @@ jobs:
BIGQUERY_CLIENT_EMAIL: ${{ secrets.BIGQUERY_CLIENT_EMAIL }}
steps:
- name: Set up Python 3.11
uses: actions/setup-python@v5
uses: actions/setup-python@v6
with:
python-version: 3.11
- name: Versions
run: |
python3 --version
- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
repository: 'adafruit/adabot'
submodules: true
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@ jobs:
TEST_native_mpy: --via-mpy --emit native -d basics float micropython
steps:
- name: Set up repository
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
submodules: false
show-progress: false
fetch-depth: 1
- name: Set up python
uses: actions/setup-python@v5
uses: actions/setup-python@v6
with:
python-version: 3.12
- name: Set up submodules
Expand Down Expand Up @@ -75,13 +75,13 @@ jobs:
CP_VERSION: ${{ inputs.cp-version }}
steps:
- name: Set up repository
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
submodules: false
show-progress: false
fetch-depth: 1
- name: Set up python
uses: actions/setup-python@v5
uses: actions/setup-python@v6
with:
python-version: 3.13
- name: Set up Zephyr
Expand Down
Loading