Skip to content

Commit 0f7c227

Browse files
committed
.github: update to actions/checkout@v4, setup-python@v5, cache@v4
1 parent 58d84ab commit 0f7c227

File tree

8 files changed

+27
-20
lines changed

8 files changed

+27
-20
lines changed

.github/actions/deps/ports/espressif/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,15 @@ runs:
1818
shell: bash
1919

2020
- name: Cache IDF submodules
21-
uses: actions/cache@v3
21+
uses: actions/cache@v4
2222
with:
2323
path: |
2424
.git/modules/ports/espressif/esp-idf
2525
ports/espressif/esp-idf
2626
key: submodules-idf-${{ steps.idf-commit.outputs.commit }}
2727

2828
- name: Cache IDF tools
29-
uses: actions/cache@v3
29+
uses: actions/cache@v4
3030
with:
3131
path: ${{ env.IDF_TOOLS_PATH }}
3232
key: ${{ runner.os }}-${{ env.pythonLocation }}-tools-idf-${{ steps.idf-commit.outputs.commit }}

.github/actions/deps/python/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,15 @@ runs:
1616
- name: Cache python dependencies
1717
id: cache-python-deps
1818
if: inputs.action == 'cache'
19-
uses: actions/cache@v3
19+
uses: actions/cache@v4
2020
with:
2121
path: .cp_tools
2222
key: ${{ runner.os }}-${{ env.pythonLocation }}-tools-cp-${{ hashFiles('requirements-dev.txt') }}
2323

2424
- name: Restore python dependencies
2525
id: restore-python-deps
2626
if: inputs.action == 'restore'
27-
uses: actions/cache/restore@v3
27+
uses: actions/cache/restore@v4
2828
with:
2929
path: .cp_tools
3030
key: ${{ runner.os }}-${{ env.pythonLocation }}-tools-cp-${{ hashFiles('requirements-dev.txt') }}

.github/actions/deps/submodules/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,15 +48,15 @@ runs:
4848

4949
- name: Cache submodules
5050
if: ${{ inputs.action == 'cache' }}
51-
uses: actions/cache@v3
51+
uses: actions/cache@v4
5252
with:
5353
path: ".git/modules/\n${{ join(fromJSON(steps.create-submodule-status.outputs.submodules), '\n') }}"
5454
key: submodules-common-${{ hashFiles('submodule_status') }}
5555
enableCrossOsArchive: true
5656

5757
- name: Restore submodules
5858
if: ${{ inputs.action == 'restore' }}
59-
uses: actions/cache/restore@v3
59+
uses: actions/cache/restore@v4
6060
with:
6161
path: ".git/modules/\n${{ join(fromJSON(steps.create-submodule-status.outputs.submodules), '\n') }}"
6262
key: submodules-common-${{ hashFiles('submodule_status') }}

.github/workflows/build.yml

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,13 @@ jobs:
2828
env:
2929
GITHUB_CONTEXT: ${{ toJson(github) }}
3030
- name: Set up repository
31-
uses: actions/checkout@v3
31+
uses: actions/checkout@v4
3232
with:
3333
submodules: false
34+
progress: false
3435
fetch-depth: 1
3536
- name: Set up python
36-
uses: actions/setup-python@v4
37+
uses: actions/setup-python@v5
3738
with:
3839
python-version: 3.x
3940
- name: Duplicate USB VID/PID check
@@ -108,12 +109,13 @@ jobs:
108109
CP_VERSION: ${{ needs.scheduler.outputs.cp-version }}
109110
steps:
110111
- name: Set up repository
111-
uses: actions/checkout@v3
112+
uses: actions/checkout@v4
112113
with:
113114
submodules: false
115+
progress: false
114116
fetch-depth: 1
115117
- name: Set up python
116-
uses: actions/setup-python@v4
118+
uses: actions/setup-python@v5
117119
with:
118120
python-version: 3.x
119121
- name: Set up submodules
@@ -163,12 +165,13 @@ jobs:
163165
CP_VERSION: ${{ needs.scheduler.outputs.cp-version }}
164166
steps:
165167
- name: Set up repository
166-
uses: actions/checkout@v3
168+
uses: actions/checkout@v4
167169
with:
168170
submodules: false
171+
progress: false
169172
fetch-depth: 1
170173
- name: Set up python
171-
uses: actions/setup-python@v4
174+
uses: actions/setup-python@v5
172175
with:
173176
python-version: 3.x
174177
- name: Set up submodules
@@ -260,9 +263,10 @@ jobs:
260263
which python; python --version; python -c "import cascadetoml"
261264
which python3; python3 --version; python3 -c "import cascadetoml"
262265
- name: Set up repository
263-
uses: actions/checkout@v3
266+
uses: actions/checkout@v4
264267
with:
265268
submodules: false
269+
progress: false
266270
fetch-depth: 1
267271
- name: Set up submodules
268272
uses: ./.github/actions/deps/submodules

.github/workflows/create-website-pr.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,13 @@ jobs:
1717
env:
1818
GITHUB_CONTEXT: ${{ toJson(github) }}
1919
- name: Set up repository
20-
uses: actions/checkout@v3
20+
uses: actions/checkout@v4
2121
with:
2222
submodules: false
23+
progress: false
2324
fetch-depth: 1
2425
- name: Set up python
25-
uses: actions/setup-python@v4
26+
uses: actions/setup-python@v5
2627
with:
2728
python-version: 3.x
2829
- name: Set up submodules

.github/workflows/custom-board-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
run: |
4343
> custom-build && git add custom-build
4444
- name: Set up python
45-
uses: actions/setup-python@v4
45+
uses: actions/setup-python@v5
4646
with:
4747
python-version: 3.x
4848
- name: Set up port

.github/workflows/pre-commit.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,13 @@ jobs:
1717
runs-on: ubuntu-22.04
1818
steps:
1919
- name: Set up repository
20-
uses: actions/checkout@v3
20+
uses: actions/checkout@v4
2121
with:
2222
submodules: false
23+
progress: false
2324
fetch-depth: 1
2425
- name: Set up python
25-
uses: actions/setup-python@v4
26+
uses: actions/setup-python@v5
2627
with:
2728
python-version: 3.x
2829
- name: Set up submodules

.github/workflows/run-tests.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,13 @@ jobs:
2424
TEST_native_mpy: --via-mpy --emit native -d basics float micropython
2525
steps:
2626
- name: Set up repository
27-
uses: actions/checkout@v3
27+
uses: actions/checkout@v4
2828
with:
2929
submodules: false
30+
progress: false
3031
fetch-depth: 1
3132
- name: Set up python
32-
uses: actions/setup-python@v4
33+
uses: actions/setup-python@v5
3334
with:
3435
python-version: 3.8
3536
- name: Set up submodules

0 commit comments

Comments
 (0)