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

Bump github actions #1933

Merged
merged 1 commit into from
Feb 6, 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
7 changes: 7 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,10 @@ updates:
- dependency-type: "direct"
labels:
- dependencies

- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
labels:
- dependencies
36 changes: 20 additions & 16 deletions .github/workflows/build_and_test_arm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ jobs:
FLAVOR: ${{ inputs.flavor }}
ARCH: aarch64
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- run: |
git fetch --prune --unshallow
- name: Cached ISO
id: cache-iso
uses: actions/cache/restore@v3
uses: actions/cache/restore@v4
env:
cache-name: pr-iso-build-aarch64-${{ inputs.flavor }}
enableCrossOsArchive: true
Expand All @@ -48,7 +48,7 @@ jobs:
- if: ${{ steps.cache-iso.outputs.cache-hit != 'true' }}
name: Save ISO
id: save-iso
uses: actions/cache/save@v3
uses: actions/cache/save@v4
env:
cache-name: pr-iso-build-aarch64-${{ inputs.flavor }}
with:
Expand All @@ -63,11 +63,11 @@ jobs:
FLAVOR: ${{ inputs.flavor }}
ARCH: aarch64
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- run: |
git fetch --prune --unshallow
- name: Checks cached Disk
uses: actions/cache/restore@v3
uses: actions/cache/restore@v4
id: cache-check
env:
cache-name: pr-disk-build-aarch64-${{ inputs.flavor }}
Expand All @@ -92,7 +92,7 @@ jobs:
- if: ${{ steps.cache-check.outputs.cache-hit != 'true' }}
name: Save cached disk
id: cache-disk
uses: actions/cache/save@v3
uses: actions/cache/save@v4
env:
cache-name: pr-disk-build-aarch64-${{ inputs.flavor }}
with:
Expand All @@ -115,9 +115,9 @@ jobs:
- test-smoke
fail-fast: false
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Install Go
uses: actions/setup-go@v3
uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: Install deps
Expand All @@ -127,7 +127,7 @@ jobs:
git fetch --prune --unshallow
- name: Cached Disk
id: cache-disk
uses: actions/cache/restore@v3
uses: actions/cache/restore@v4
env:
cache-name: pr-disk-build-aarch64-${{ inputs.flavor }}
with:
Expand All @@ -139,19 +139,21 @@ jobs:
run: |
make DISK=/tmp/elemental-${{ env.FLAVOR }}.${{ env.ARCH}}.qcow2 ELMNTL_ACCEL=none ELMNTL_MACHINETYPE=virt ELMNTL_TARGETARCH=${{ env.ARCH }} ELMNTL_FIRMWARE=/usr/share/AAVMF/AAVMF_CODE.fd ${{ matrix.test }}
- name: Upload serial console for ${{ matrix.test }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: always()
with:
name: serial-${{ env.ARCH }}-${{ env.FLAVOR }}-${{ matrix.test }}.log
path: tests/serial.log
if-no-files-found: error
overwrite: true
- name: Upload qemu stdout for ${{ matrix.test }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: failure()
with:
name: vmstdout-${{ env.ARCH }}-${{ env.FLAVOR }}-${{ matrix.test }}.log
path: tests/vmstdout
if-no-files-found: error
overwrite: true
- name: Stop test VM
if: always()
run: |
Expand All @@ -167,9 +169,9 @@ jobs:
ARCH: aarch64
COS_TIMEOUT: 1600
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Install Go
uses: actions/setup-go@v3
uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: Install deps
Expand All @@ -179,7 +181,7 @@ jobs:
git fetch --prune --unshallow
- name: Cached ISO
id: cache-iso
uses: actions/cache/restore@v3
uses: actions/cache/restore@v4
env:
cache-name: pr-iso-build-aarch64-${{ inputs.flavor }}
with:
Expand All @@ -191,19 +193,21 @@ jobs:
run: |
make ISO=/tmp/elemental-${{ env.FLAVOR }}.${{ env.ARCH}}.iso ELMNTL_ACCEL=none ELMNTL_MACHINETYPE=virt ELMNTL_TARGETARCH=${{ env.ARCH }} ELMNTL_FIRMWARE=/usr/share/AAVMF/AAVMF_CODE.fd test-installer
- name: Upload serial console for installer tests
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: always()
with:
name: serial-${{ env.ARCH }}-${{ env.FLAVOR }}-installer.log
path: tests/serial.log
if-no-files-found: error
overwrite: true
- name: Upload qemu stdout for installer tests
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: failure()
with:
name: vmstdout-${{ env.ARCH }}-${{ env.FLAVOR }}-installer.log
path: tests/vmstdout
if-no-files-found: error
overwrite: true
- name: Stop test VM
if: always()
run: |
Expand Down
36 changes: 20 additions & 16 deletions .github/workflows/build_and_test_x86.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,12 @@ jobs:
FLAVOR: ${{ inputs.flavor }}
ARCH: x86_64
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- run: |
git fetch --prune --unshallow
- name: Cached ISO
id: cache-iso
uses: actions/cache/restore@v3
uses: actions/cache/restore@v4
env:
cache-name: pr-iso-build-x86_64-${{ inputs.flavor }}
enableCrossOsArchive: true
Expand All @@ -61,7 +61,7 @@ jobs:
- if: ${{ steps.cache-iso.outputs.cache-hit != 'true' }}
name: Save ISO
id: save-iso
uses: actions/cache/save@v3
uses: actions/cache/save@v4
env:
cache-name: pr-iso-build-x86_64-${{ inputs.flavor }}
with:
Expand All @@ -76,11 +76,11 @@ jobs:
FLAVOR: ${{ inputs.flavor }}
ARCH: x86_64
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- run: |
git fetch --prune --unshallow
- name: Checks cached Disk
uses: actions/cache/restore@v3
uses: actions/cache/restore@v4
id: cache-check
env:
cache-name: pr-disk-build-x86_64-${{ inputs.flavor }}
Expand Down Expand Up @@ -109,7 +109,7 @@ jobs:
- if: ${{ steps.cache-check.outputs.cache-hit != 'true' }}
name: Save cached disk
id: cache-disk
uses: actions/cache/save@v3
uses: actions/cache/save@v4
env:
cache-name: pr-disk-build-x86_64-${{ inputs.flavor }}
with:
Expand All @@ -131,9 +131,9 @@ jobs:
test: ${{ fromJson(needs.detect.outputs.tests) }}
fail-fast: false
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Install Go
uses: actions/setup-go@v3
uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: Install deps
Expand All @@ -143,7 +143,7 @@ jobs:
git fetch --prune --unshallow
- name: Cached Disk
id: cache-disk
uses: actions/cache/restore@v3
uses: actions/cache/restore@v4
env:
cache-name: pr-disk-build-x86_64-${{ inputs.flavor }}
with:
Expand All @@ -158,19 +158,21 @@ jobs:
run: |
make DISK=/tmp/elemental-${{ env.FLAVOR }}.${{ env.ARCH}}.qcow2 ELMNTL_ACCEL=hvf ELMNTL_TARGETARCH=${{ env.ARCH }} ELMNTL_FIRMWARE=$(find /usr/local/Cellar/qemu -name edk2-${{ env.ARCH }}-code.fd -print -quit) ${{ matrix.test }}
- name: Upload serial console for ${{ matrix.test }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: always()
with:
name: serial-${{ env.ARCH }}-${{ env.FLAVOR }}-${{ matrix.test }}.log
path: tests/serial.log
if-no-files-found: error
overwrite: true
- name: Upload qemu stdout for ${{ matrix.test }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: failure()
with:
name: vmstdout-${{ env.ARCH }}-${{ env.FLAVOR }}-${{ matrix.test }}.log
path: tests/vmstdout
if-no-files-found: error
overwrite: true
- name: Stop test VM
if: always()
run: |
Expand All @@ -186,9 +188,9 @@ jobs:
ARCH: x86_64
COS_TIMEOUT: 1600
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Install Go
uses: actions/setup-go@v3
uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: Install deps
Expand All @@ -198,7 +200,7 @@ jobs:
git fetch --prune --unshallow
- name: Cached ISO
id: cache-iso
uses: actions/cache/restore@v3
uses: actions/cache/restore@v4
env:
cache-name: pr-iso-build-x86_64-${{ inputs.flavor }}
with:
Expand All @@ -213,19 +215,21 @@ jobs:
run: |
make ISO=/tmp/elemental-${{ env.FLAVOR }}.${{ env.ARCH}}.iso ELMNTL_ACCEL=hvf ELMNTL_TARGETARCH=${{ env.ARCH }} ELMNTL_FIRMWARE=$(find /usr/local/Cellar/qemu -name edk2-${{ env.ARCH }}-code.fd -print -quit) test-installer
- name: Upload serial console for installer tests
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: always()
with:
name: serial-${{ env.ARCH }}-${{ env.FLAVOR }}-installer.log
path: tests/serial.log
if-no-files-found: error
overwrite: true
- name: Upload qemu stdout for installer tests
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: failure()
with:
name: vmstdout-${{ env.ARCH }}-${{ env.FLAVOR }}-installer.log
path: tests/vmstdout
if-no-files-found: error
overwrite: true
- name: Stop test VM
if: always()
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/cli.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3.1.0
uses: actions/checkout@v4
- name: Install Go
uses: actions/setup-go@v3.3.1
uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: Analysis
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
submodules: recursive
fetch-depth: 0
- name: Install Go
uses: actions/setup-go@v3.3.1
uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: Setup Hugo
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ jobs:
COSIGN_EXPERIMENTAL: 1
steps:
- name: Checkout
uses: actions/checkout@v3.1.0
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v3.3.1
uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: Set up cosign
Expand All @@ -36,7 +36,7 @@ jobs:
release-images:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
Expand Down
Loading