Skip to content

Commit 2099c6a

Browse files
committed
.github/workflows/action-test: Update to use uppercase for step names
Signed-off-by: Jiaxiao (mossaka) Zhou <[email protected]>
1 parent cb67ec1 commit 2099c6a

File tree

6 files changed

+30
-29
lines changed

6 files changed

+30
-29
lines changed

.github/workflows/action-build.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,24 +27,24 @@ jobs:
2727
- name: Setup build env
2828
run: |
2929
make setup
30-
- name: build spin shim
30+
- name: Build spin shim
3131
run: |
3232
VERBOSE=1 make build
33-
- name: unit tests spin shim
33+
- name: Run unit tests spin shim
3434
run: |
3535
VERBOSE=1 make unit-tests
36-
- name: lowercase the runner OS name
36+
- name: Lowercase the runner OS name
3737
shell: bash
3838
run: |
3939
OS=$(echo "${{ runner.os }}" | tr '[:upper:]' '[:lower:]')
4040
echo "RUNNER_OS=$OS" >> $GITHUB_ENV
41-
- name: package release assets
41+
- name: Package release assets
4242
run: |
4343
mkdir _dist
4444
cp target/${{ matrix.config.arch }}-unknown-linux-musl/release/containerd-shim-spin-v2 _dist/
4545
cd _dist
4646
tar czf containerd-shim-spin-v2-${{ env.RUNNER_OS }}-${{ matrix.config.arch }}.tar.gz containerd-shim-spin-v2
47-
- name: upload shim artifacts
47+
- name: Upload shim artifacts
4848
uses: actions/upload-artifact@v4
4949
with:
5050
name: containerd-shim-spin-v2-${{ env.RUNNER_OS }}-${{ matrix.config.arch }}

.github/workflows/action-check.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,12 @@ jobs:
1414
- uses: actions-rust-lang/setup-rust-toolchain@v1
1515
with:
1616
components: rustfmt, clippy
17-
- run:
17+
- name: Install nightly rustfmt
18+
run:
1819
rustup toolchain install nightly --component rustfmt
1920
- name: Setup build env
2021
run: |
2122
make setup
22-
- name: fmt
23+
- name: Run fmt
2324
run: |
2425
make fmt

.github/workflows/action-docker-build-push.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,29 +33,29 @@ jobs:
3333
echo "RUNNER_OS=$OS" >> $GITHUB_ENV
3434
- name: Set up QEMU
3535
uses: docker/setup-qemu-action@v3
36-
- name: setup buildx
36+
- name: Setup buildx
3737
uses: docker/setup-buildx-action@v3
38-
- name: login to GitHub container registry
38+
- name: Login to GitHub container registry
3939
uses: docker/login-action@v3
4040
with:
4141
registry: ghcr.io
4242
username: ${{ github.actor }}
4343
password: ${{ secrets.GITHUB_TOKEN }}
4444

45-
- name: enable containerd image store
45+
- name: Enable containerd image store
4646
run: |
4747
echo '{ "features": { "containerd-snapshotter": true } }' | sudo tee /etc/docker/daemon.json
4848
sudo systemctl restart docker
4949
50-
- name: test
50+
- name: Build and load (test run)
5151
uses: docker/build-push-action@v5
5252
if: ${{ inputs.test }}
5353
with:
5454
context: ${{ matrix.image.context }}
5555
load: true
5656
tags: containerd-shim-spin/${{ matrix.image.imageName }}:test
5757
platforms: wasi/wasm
58-
- name: build and push
58+
- name: Build and push
5959
uses: docker/build-push-action@v5
6060
if: ${{ !inputs.test }}
6161
with:

.github/workflows/action-node-installer.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,10 @@ jobs:
3535
- name: Set up QEMU
3636
uses: docker/setup-qemu-action@v3
3737

38-
- name: setup buildx
38+
- name: Setup buildx
3939
uses: docker/setup-buildx-action@v3
4040

41-
- name: login to GitHub container registry
41+
- name: Login to GitHub container registry
4242
uses: docker/login-action@v3
4343
with:
4444
registry: ghcr.io
@@ -47,14 +47,14 @@ jobs:
4747

4848
# Build and push node-installer image
4949
# TODO: remove once https://github.com/spinkube/runtime-class-manager handles this
50-
- name: untar musl artifacts into ./node-installer/.tmp/linux/(amd64|arm64) dir
50+
- name: Extract musl artifacts into ./node-installer/.tmp/linux/(amd64|arm64) dir
5151
run: |
5252
mkdir -p ./node-installer/.tmp/linux/amd64
5353
mkdir -p ./node-installer/.tmp/linux/arm64
5454
for f in ./_artifacts/*/*-x86_64.tar.gz; do tar -xf $f --directory ./node-installer/.tmp/linux/amd64; done
5555
for f in ./_artifacts/*/*-aarch64.tar.gz; do tar -xf $f --directory ./node-installer/.tmp/linux/arm64; done
5656
57-
- name: build and push node-installer image
57+
- name: Build and push node-installer image
5858
uses: docker/build-push-action@v5
5959
with:
6060
push: true
@@ -63,7 +63,7 @@ jobs:
6363
context: node-installer
6464
platforms: linux/amd64,linux/arm64
6565

66-
- name: clear
66+
- name: Clear
6767
if: always()
6868
run: |
6969
rm -f ${HOME}/.docker/config.json

.github/workflows/action-test.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,17 +27,17 @@ jobs:
2727
do tar -xzf "$f" -C ./bin
2828
done
2929
30-
- name: install k3d
30+
- name: Install k3d
3131
run: make install-k3d
3232

33-
- name: run integration tests
33+
- name: Run integration tests
3434
run: BIN_DIR="./bin" IS_CI=true make integration-tests
3535

36-
- name: run collect debug logs
36+
- name: Collect debug logs
3737
if: failure()
3838
run: make tests/collect-debug-logs
3939

40-
- name: upload debug logs
40+
- name: Upload debug logs
4141
if: failure()
4242
uses: actions/upload-artifact@v4
4343
with:
@@ -49,6 +49,6 @@ jobs:
4949
if: failure()
5050
run: df -h
5151

52-
- name: clean up k3d
52+
- name: Clean up k3d
5353
if: always()
5454
run: make tests/clean

.github/workflows/release.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -41,14 +41,14 @@ jobs:
4141
with:
4242
path: _artifacts
4343

44-
- name: copy release workload assets into _dist
44+
- name: Copy release workload assets into _dist
4545
if: startsWith(github.ref, 'refs/tags/v')
4646
run: |
4747
mkdir -p _dist
4848
cp ./deployments/workloads/runtime.yaml _dist/runtime.yaml
4949
cp ./deployments/workloads/workload.yaml _dist/workload.yaml
5050
51-
- name: create release
51+
- name: Create release
5252
if: startsWith(github.ref, 'refs/tags/v')
5353
env:
5454
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -63,25 +63,25 @@ jobs:
6363
- name: Set up QEMU
6464
uses: docker/setup-qemu-action@v3
6565

66-
- name: setup buildx
66+
- name: Setup buildx
6767
uses: docker/setup-buildx-action@v3
6868

69-
- name: login to GitHub container registry
69+
- name: Login to GitHub container registry
7070
uses: docker/login-action@v3
7171
with:
7272
registry: ghcr.io
7373
username: ${{ github.actor }}
7474
password: ${{ secrets.GITHUB_TOKEN }}
7575

7676
# Build and push k3d shim image
77-
- name: untar musl artifacts into ./deployments/k3d/.tmp/linux/(amd64|arm64) dir
77+
- name: Extract musl artifacts into ./deployments/k3d/.tmp/linux/(amd64|arm64) dir
7878
run: |
7979
mkdir -p ./deployments/k3d/.tmp/linux/amd64
8080
mkdir -p ./deployments/k3d/.tmp/linux/arm64
8181
for f in ./_artifacts/*/*-x86_64.tar.gz; do tar -xf $f --directory ./deployments/k3d/.tmp/linux/amd64; done
8282
for f in ./_artifacts/*/*-aarch64.tar.gz; do tar -xf $f --directory ./deployments/k3d/.tmp/linux/arm64; done
8383
84-
- name: build and push k3d shim image
84+
- name: Build and push k3d shim image
8585
uses: docker/build-push-action@v5
8686
with:
8787
push: true
@@ -92,7 +92,7 @@ jobs:
9292
build-args: |
9393
STAGE=release
9494
95-
- name: clear
95+
- name: Clear
9696
if: always()
9797
run: |
9898
rm -f ${HOME}/.docker/config.json

0 commit comments

Comments
 (0)