Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GHA: update actions/checkout to v4.1.1 #8

Merged
merged 2 commits into from
Mar 11, 2024
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
24 changes: 19 additions & 5 deletions .github/workflows/container-build-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- name: "Checkout repository"
uses: actions/checkout@v3
uses: actions/checkout@v4.1.1
- name: "Test building container esp32s3"
run: |
set -euxo pipefail
Expand Down Expand Up @@ -46,7 +46,7 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- name: "Checkout repository"
uses: actions/checkout@v3
uses: actions/checkout@v4.1.1
- name: "Test building fuse blower container esp32s2fb"
run: |
set -euxo pipefail
Expand All @@ -66,10 +66,17 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- name: "Checkout repository"
uses: actions/checkout@v3
uses: actions/checkout@v4.1.1
- name: "Test building container esp32s2zephyr"
run: |
set -euxo pipefail

# "Out of disk space" workaround
sudo rm -rf /usr/share/dotnet
sudo rm -rf /opt/ghc
sudo rm -rf "/usr/local/share/boost"
sudo rm -rf "$AGENT_TOOLSDIRECTORY"

cd ${{ github.workspace }}/esp32s2
docker build -f Dockerfile.esp32s2_mcuboot_zephyr \
--build-arg SBV2_PRIVATE_KEY="sbv2_private_dev.pem" \
Expand All @@ -86,7 +93,7 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- name: "Checkout repository"
uses: actions/checkout@v3
uses: actions/checkout@v4.1.1
- name: "Test building fuse blower container esp32s2fb"
run: |
set -euxo pipefail
Expand All @@ -106,10 +113,17 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- name: "Checkout repository"
uses: actions/checkout@v3
uses: actions/checkout@v4.1.1
- name: "Test building container esp32zephyr"
run: |
set -euxo pipefail

# "Out of disk space" workaround
sudo rm -rf /usr/share/dotnet
sudo rm -rf /opt/ghc
sudo rm -rf "/usr/local/share/boost"
sudo rm -rf "$AGENT_TOOLSDIRECTORY"

cd ${{ github.workspace }}/esp32
docker build -f Dockerfile.esp32_mcuboot_zephyr \
--build-arg SBV2_PRIVATE_KEY="sbv2_private_dev.pem" \
Expand Down
11 changes: 10 additions & 1 deletion .github/workflows/pub-ghcr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,16 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: "Checkout repository"
uses: actions/checkout@v3
uses: actions/[email protected]
- name: "Out-of-disk-space workaround"
run: |
set -euxo pipefail
# "Out of disk space" workaround
sudo rm -rf /usr/share/dotnet
sudo rm -rf /opt/ghc
sudo rm -rf "/usr/local/share/boost"
sudo rm -rf "$AGENT_TOOLSDIRECTORY"

- name: "Build container"
run: |
set -euxo pipefail
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish-devenv-base-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
idf_target_image_name: 'devenv_idf_base'
steps:
- name: 'Checkout repository'
uses: actions/checkout@v3
uses: actions/checkout@v4.1.1
- name: "Build base containers"
run: |
set -euxo pipefail
Expand All @@ -41,7 +41,7 @@ jobs:
zephyr_target_image_name: 'devenv_zephyr_base'
steps:
- name: 'Checkout repository'
uses: actions/checkout@v3
uses: actions/checkout@v4.1.1
- name: "Build base containers"
run: |
set -euxo pipefail
Expand Down