Skip to content

Commit a3accf8

Browse files
Fix indentation and formatting in vci: reconstruct prepare job structure and fix indentationm_test.yml
1 parent af2927e commit a3accf8

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

.github/workflows/vm_test.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ jobs:
7878
container_image: opensuse/leap:latest
7979

8080
steps:
81+
steps:
8182
- name: Validate inputs (prevent command injection)
8283
shell: bash
8384
env:
@@ -120,7 +121,7 @@ jobs:
120121
121122
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
122123

123-
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
124+
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
124125
with:
125126
go-version: ${{ inputs.go_version }}
126127
cache: false
@@ -322,7 +323,7 @@ jobs:
322323
name: containerd-shim-urunc-v2_static_${{ matrix.arch }}-${{ github.run_id }}
323324
path: ./
324325
- name: Install urunc
325-
id: install-urunc
326+
id: install-urunc
326327
run: |
327328
chmod +x urunc_static_${{ matrix.arch }}
328329
chmod +x containerd-shim-urunc-v2_static_${{ matrix.arch }}
@@ -339,7 +340,7 @@ jobs:
339340
EOF
340341
- name: Add runner user to KVM group
341342
if: ${{ matrix.arch == 'amd64' }}
342-
id: kvm-setup
343+
id: kvm-setup
343344
run: |
344345
if [ -c /dev/kvm ]; then
345346
echo 'KERNEL=="kvm", GROUP="kvm", MODE="0666", OPTIONS+="static_node=kvm"' | sudo tee /etc/udev/rules.d/99-kvm4all.rules || true
@@ -354,15 +355,15 @@ jobs:
354355
echo "/dev/kvm not found, skipping KVM setup"
355356
fi
356357
- name: Prepare urunc folder
357-
id: prepare
358+
id: prepare
358359
run: |
359360
export GOROOT=$(go env GOROOT)
360361
export PATH="$GOROOT/bin:$PATH"
361362
go version
362363
go env GOROOT
363364
make prepare
364365
- name: Run ${{ matrix.test }}
365-
id: test
366+
id: test
366367
run: |
367368
# Set up Go environment properly
368369
export GOROOT=$(go env GOROOT)

0 commit comments

Comments
 (0)