Skip to content

Commit 765a74e

Browse files
Update Spin and Go versions for actions
Signed-off-by: Kate Goldenring <[email protected]>
1 parent 71c8351 commit 765a74e

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
- uses: azure/setup-kubectl@v4
4747
- uses: fermyon/actions/spin/setup@v1
4848
with:
49-
version: "v2.4.2"
49+
version: "v2.7.0"
5050

5151
- name: Setup build env
5252
run: |

images/spin/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
FROM --platform=${BUILDPLATFORM} rust:1.71 AS build
1+
FROM --platform=${BUILDPLATFORM} rust:1.79 AS build
22
WORKDIR /opt/build
33
COPY . .
44
RUN rustup target add wasm32-wasi && cargo build --target wasm32-wasi --release
55

6-
FROM --platform=linux/amd64 golang:1.21.3-bullseye AS build-go
6+
FROM --platform=linux/amd64 golang:1.23.2-bullseye AS build-go
77
WORKDIR /opt/build
88
COPY . .
9-
RUN curl -LO https://github.com/tinygo-org/tinygo/releases/download/v0.30.0/tinygo_0.30.0_amd64.deb && dpkg -i tinygo_0.30.0_amd64.deb
9+
RUN curl -LO https://github.com/tinygo-org/tinygo/releases/download/v0.34.0/tinygo_0.34.0_amd64.deb && dpkg -i tinygo_0.34.0_amd64.deb
1010
RUN cd go-hello && tinygo build -target=wasi -o spin_go_hello.wasm main.go
1111

1212
FROM scratch

scripts/setup-linux.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ sudo rustup target add wasm32-wasi && sudo rustup target add wasm32-unknown-unkn
88

99
## setup tinygo. required for building test spin app
1010
echo "setting up tinygo"
11-
wget https://github.com/tinygo-org/tinygo/releases/download/v0.30.0/tinygo_0.30.0_amd64.deb
12-
sudo dpkg -i tinygo_0.30.0_amd64.deb
13-
rm tinygo_0.30.0_amd64.deb
11+
wget https://github.com/tinygo-org/tinygo/releases/download/v0.34.0/tinygo_0.34.0_amd64.deb
12+
sudo dpkg -i tinygo_0.34.0_amd64.deb
13+
rm tinygo_0.34.0_amd64.deb

0 commit comments

Comments
 (0)