Skip to content

Commit 9402d87

Browse files
authored
Merge pull request #8 from thistletech/syncom/gha/update-actions-checkout-to-v4.1.1
GHA: update actions/checkout to v4.1.1
2 parents ac9abb2 + e772d93 commit 9402d87

File tree

3 files changed

+31
-8
lines changed

3 files changed

+31
-8
lines changed

.github/workflows/container-build-check.yml

+19-5
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
runs-on: ${{ matrix.os }}
1717
steps:
1818
- name: "Checkout repository"
19-
uses: actions/checkout@v3
19+
uses: actions/checkout@v4.1.1
2020
- name: "Test building container esp32s3"
2121
run: |
2222
set -euxo pipefail
@@ -46,7 +46,7 @@ jobs:
4646
runs-on: ${{ matrix.os }}
4747
steps:
4848
- name: "Checkout repository"
49-
uses: actions/checkout@v3
49+
uses: actions/checkout@v4.1.1
5050
- name: "Test building fuse blower container esp32s2fb"
5151
run: |
5252
set -euxo pipefail
@@ -66,10 +66,17 @@ jobs:
6666
runs-on: ${{ matrix.os }}
6767
steps:
6868
- name: "Checkout repository"
69-
uses: actions/checkout@v3
69+
uses: actions/checkout@v4.1.1
7070
- name: "Test building container esp32s2zephyr"
7171
run: |
7272
set -euxo pipefail
73+
74+
# "Out of disk space" workaround
75+
sudo rm -rf /usr/share/dotnet
76+
sudo rm -rf /opt/ghc
77+
sudo rm -rf "/usr/local/share/boost"
78+
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
79+
7380
cd ${{ github.workspace }}/esp32s2
7481
docker build -f Dockerfile.esp32s2_mcuboot_zephyr \
7582
--build-arg SBV2_PRIVATE_KEY="sbv2_private_dev.pem" \
@@ -86,7 +93,7 @@ jobs:
8693
runs-on: ${{ matrix.os }}
8794
steps:
8895
- name: "Checkout repository"
89-
uses: actions/checkout@v3
96+
uses: actions/checkout@v4.1.1
9097
- name: "Test building fuse blower container esp32s2fb"
9198
run: |
9299
set -euxo pipefail
@@ -106,10 +113,17 @@ jobs:
106113
runs-on: ${{ matrix.os }}
107114
steps:
108115
- name: "Checkout repository"
109-
uses: actions/checkout@v3
116+
uses: actions/checkout@v4.1.1
110117
- name: "Test building container esp32zephyr"
111118
run: |
112119
set -euxo pipefail
120+
121+
# "Out of disk space" workaround
122+
sudo rm -rf /usr/share/dotnet
123+
sudo rm -rf /opt/ghc
124+
sudo rm -rf "/usr/local/share/boost"
125+
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
126+
113127
cd ${{ github.workspace }}/esp32
114128
docker build -f Dockerfile.esp32_mcuboot_zephyr \
115129
--build-arg SBV2_PRIVATE_KEY="sbv2_private_dev.pem" \

.github/workflows/pub-ghcr.yml

+10-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,16 @@ jobs:
1919
runs-on: ubuntu-latest
2020
steps:
2121
- name: "Checkout repository"
22-
uses: actions/checkout@v3
22+
uses: actions/checkout@v4.1.1
23+
- name: "Out-of-disk-space workaround"
24+
run: |
25+
set -euxo pipefail
26+
# "Out of disk space" workaround
27+
sudo rm -rf /usr/share/dotnet
28+
sudo rm -rf /opt/ghc
29+
sudo rm -rf "/usr/local/share/boost"
30+
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
31+
2332
- name: "Build container"
2433
run: |
2534
set -euxo pipefail

.github/workflows/publish-devenv-base-images.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
idf_target_image_name: 'devenv_idf_base'
1717
steps:
1818
- name: 'Checkout repository'
19-
uses: actions/checkout@v3
19+
uses: actions/checkout@v4.1.1
2020
- name: "Build base containers"
2121
run: |
2222
set -euxo pipefail
@@ -41,7 +41,7 @@ jobs:
4141
zephyr_target_image_name: 'devenv_zephyr_base'
4242
steps:
4343
- name: 'Checkout repository'
44-
uses: actions/checkout@v3
44+
uses: actions/checkout@v4.1.1
4545
- name: "Build base containers"
4646
run: |
4747
set -euxo pipefail

0 commit comments

Comments
 (0)