Skip to content

Commit d2fc51f

Browse files
committed
fix: build workflow
Signed-off-by: Aminu 'Seun Joshua <[email protected]>
1 parent c326e78 commit d2fc51f

File tree

1 file changed

+10
-15
lines changed

1 file changed

+10
-15
lines changed

.github/workflows/build.yml

Lines changed: 10 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ jobs:
2525
runs-on: "ubuntu-22.04"
2626
if: ${{ github.event_name == 'pull_request' }}
2727
steps:
28-
- name: 'Checkout Repository'
28+
- name: "Checkout Repository"
2929
uses: actions/checkout@v4
30-
- name: 'Dependency Review'
30+
- name: "Dependency Review"
3131
uses: actions/dependency-review-action@v4
3232

3333
lint-rust:
@@ -83,14 +83,8 @@ jobs:
8383
strategy:
8484
matrix:
8585
config:
86-
- {
87-
arch: "aarch64",
88-
target: "aarch64-unknown-linux-musl"
89-
}
90-
- {
91-
arch: "amd64",
92-
target: "x86_64-unknown-linux-musl"
93-
}
86+
- { arch: "aarch64", target: "aarch64-unknown-linux-musl" }
87+
- { arch: "amd64", target: "x86_64-unknown-linux-musl" }
9488
steps:
9589
- uses: actions/checkout@v3
9690

@@ -141,7 +135,6 @@ jobs:
141135
name: spin-${{ matrix.os }}
142136
path: target/release/spin${{ matrix.os == 'windows-latest' && '.exe' || '' }}
143137

144-
145138
test-spin:
146139
name: Test Spin
147140
runs-on: ${{ matrix.runner }}
@@ -198,16 +191,18 @@ jobs:
198191
- name: Install Rust wasm target
199192
run: rustup target add wasm32-wasip1 wasm32-unknown-unknown
200193
- uses: goto-bus-stop/setup-zig@v2
194+
with:
195+
zig-version: 0.14.1
201196
- uses: actions/setup-go@v4
202197
with:
203-
go-version: '1.23'
204-
cache-dependency-path: "**/go.sum" # To suppress warning: https://github.com/actions/setup-go/issues/427
198+
go-version: "1.23"
199+
cache-dependency-path: "**/go.sum" # To suppress warning: https://github.com/actions/setup-go/issues/427
205200
- uses: acifani/setup-tinygo@v2
206201
with:
207-
tinygo-version: '0.37.0'
202+
tinygo-version: "0.37.0"
208203
- uses: actions/setup-node@v3
209204
with:
210-
node-version: '22.x'
205+
node-version: "22.x"
211206
- name: Install Grain
212207
run: |
213208
wget https://github.com/grain-lang/grain/releases/download/grain-v0.6.6/grain-linux-x64

0 commit comments

Comments
 (0)