Skip to content

Commit b3b38c1

Browse files
authored
Merge pull request #3035 from jepler/simplify-checkout
actions: Try checkout v2.2.0
2 parents 08c8198 + 03c04e7 commit b3b38c1

File tree

2 files changed

+6
-22
lines changed

2 files changed

+6
-22
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,11 @@ jobs:
1616
env:
1717
GITHUB_CONTEXT: ${{ toJson(github) }}
1818
run: echo "$GITHUB_CONTEXT"
19-
- uses: actions/checkout@v2
19+
- uses: actions/checkout@v2.2.0
2020
with:
2121
submodules: true
2222
fetch-depth: 0
2323
- run: git fetch --recurse-submodules=no https://github.com/adafruit/circuitpython refs/tags/*:refs/tags/*
24-
- run: git submodule sync
25-
- run: git submodule foreach git remote -v
26-
- run: git submodule foreach git fetch --recurse-submodules=no origin +refs/tags/*:refs/tags/*
2724
- name: CircuitPython version
2825
run: git describe --dirty --tags
2926
- name: Set up Python 3.8
@@ -118,14 +115,11 @@ jobs:
118115
gcc --version
119116
python3 --version
120117
msgfmt --version
121-
- uses: actions/checkout@v2
118+
- uses: actions/checkout@v2.2.0
122119
with:
123120
submodules: true
124121
fetch-depth: 0
125122
- run: git fetch --recurse-submodules=no https://github.com/adafruit/circuitpython refs/tags/*:refs/tags/*
126-
- run: git submodule sync
127-
- run: git submodule foreach git remote -v
128-
- run: git submodule foreach git fetch --recurse-submodules=no origin +refs/tags/*:refs/tags/*
129123
- name: CircuitPython version
130124
run: git describe --dirty --tags
131125
- name: Build mpy-cross
@@ -294,14 +288,11 @@ jobs:
294288
gcc --version
295289
arm-none-eabi-gcc --version
296290
python3 --version
297-
- uses: actions/checkout@v2
291+
- uses: actions/checkout@v2.2.0
298292
with:
299293
submodules: true
300294
fetch-depth: 0
301295
- run: git fetch --recurse-submodules=no https://github.com/adafruit/circuitpython refs/tags/*:refs/tags/*
302-
- run: git submodule sync
303-
- run: git submodule foreach git remote -v
304-
- run: git submodule foreach git fetch --recurse-submodules=no origin +refs/tags/*:refs/tags/*
305296
- name: mpy-cross
306297
run: make -C mpy-cross -j2
307298
- name: build
@@ -345,14 +336,11 @@ jobs:
345336
gcc --version
346337
riscv64-unknown-elf-gcc --version
347338
python3 --version
348-
- uses: actions/checkout@v2
339+
- uses: actions/checkout@v2.2.0
349340
with:
350341
submodules: true
351342
fetch-depth: 0
352343
- run: git fetch --recurse-submodules=no https://github.com/adafruit/circuitpython refs/tags/*:refs/tags/*
353-
- run: git submodule sync
354-
- run: git submodule foreach git remote -v
355-
- run: git submodule foreach git fetch --recurse-submodules=no origin +refs/tags/*:refs/tags/*
356344
- name: mpy-cross
357345
run: make -C mpy-cross -j2
358346
- name: build
@@ -385,14 +373,11 @@ jobs:
385373
uses: actions/setup-python@v1
386374
with:
387375
python-version: 3.8
388-
- uses: actions/checkout@v2
376+
- uses: actions/checkout@v2.2.0
389377
with:
390378
submodules: true
391379
fetch-depth: 0
392380
- run: git fetch --recurse-submodules=no https://github.com/adafruit/circuitpython refs/tags/*:refs/tags/*
393-
- run: git submodule sync
394-
- run: git submodule foreach git remote -v
395-
- run: git submodule foreach git fetch --recurse-submodules=no origin +refs/tags/*:refs/tags/*
396381
- name: CircuitPython version
397382
run: git describe --dirty --tags
398383
- uses: actions/cache@v1

.github/workflows/create_website_pr.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,11 @@ jobs:
2323
run: |
2424
gcc --version
2525
python3 --version
26-
- uses: actions/checkout@v2
26+
- uses: actions/checkout@v2.2.0
2727
with:
2828
submodules: true
2929
fetch-depth: 0
3030
- run: git fetch --recurse-submodules=no https://github.com/adafruit/circuitpython refs/tags/*:refs/tags/*
31-
- run: git submodule foreach git fetch --recurse-submodules=no origin +refs/tags/*:refs/tags/*
3231
- name: CircuitPython version
3332
run: git describe --dirty --tags
3433
- name: Website

0 commit comments

Comments
 (0)