Skip to content

Commit eca706c

Browse files
Update build action with latest Spin and Rust
Signed-off-by: Kate Goldenring <[email protected]>
1 parent 063a7f7 commit eca706c

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ jobs:
2828
fail-fast: false
2929
matrix:
3030
config:
31-
- { target: "x86_64-unknown-linux-gnu", os: "ubuntu-20.04", arch: "amd64", extension: ""}
32-
- { target: "aarch64-unknown-linux-gnu", os: "ubuntu-20.04", arch: "aarch64", extension: "", extraArg: "--features openssl/vendored" }
31+
- { target: "x86_64-unknown-linux-gnu", os: "ubuntu-22.04", arch: "amd64", extension: ""}
32+
- { target: "aarch64-unknown-linux-gnu", os: "ubuntu-22.04", arch: "aarch64", extension: "", extraArg: "--features openssl/vendored" }
3333
- { target: "x86_64-apple-darwin", os: "macos-13", arch: "amd64", extension: "" }
3434
- { target: "aarch64-apple-darwin", os: "macos-14", arch: "aarch64", extension: "" }
3535
- { target: "x86_64-pc-windows-msvc", os: "windows-latest", arch: "amd64", extension: ".exe" }
@@ -38,12 +38,12 @@ jobs:
3838
- name: Install Rust
3939
uses: dtolnay/rust-toolchain@stable
4040
with:
41-
toolchain: 1.81
41+
toolchain: 1.85
4242
targets: ${{ matrix.config.target }}
4343
- name: Install Spin
4444
uses: rajatjindal/setup-actions/spin@main
4545
with:
46-
version: "v0.8.0"
46+
version: "v3.3.0"
4747
- name: Install pluginify
4848
shell: bash
4949
run: spin plugins install --url https://github.com/itowlson/spin-pluginify/releases/download/canary/pluginify.json --yes

src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ type Command = FactorsTriggerCommand<SqsTrigger, FactorsBuilder>;
77

88
#[tokio::main]
99
async fn main() -> anyhow::Result<()> {
10-
let _telemetry_guard = spin_telemetry::init(build_info())?;
10+
spin_telemetry::init(build_info())?;
1111

1212
let t = Command::parse();
1313
t.run().await

0 commit comments

Comments
 (0)