Skip to content

Commit 130d5f0

Browse files
committed
Try fix ci
1 parent 3dd8708 commit 130d5f0

File tree

5 files changed

+10
-1
lines changed

5 files changed

+10
-1
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ on:
1111
arch:
1212
required: true
1313
type: string
14+
toolchain:
15+
required: true
16+
type: string
1417

1518
jobs:
1619
build:
@@ -23,7 +26,7 @@ jobs:
2326
- name: Setup Rust
2427
uses: actions-rust-lang/setup-rust-toolchain@v1
2528
with:
26-
toolchain: stable # Modules should work on stable, not just nightly
29+
toolchain: ${{ inputs.toolchain }}
2730
- name: Run tests
2831
run: |
2932
cargo test

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,15 @@ jobs:
3636
- os: ubuntu-latest
3737
platform: linux
3838
arch: x86_64
39+
toolchain: stable
3940
- os: macos-latest
4041
platform: darwin
4142
arch: x86_64
43+
toolchain: stable
4244
- os: windows-latest
4345
platform: windows
4446
arch: x86_64
47+
toolchain: stable-x86_64-pc-windows-gnu
4548
uses: ./.github/workflows/build.yml
4649
with:
4750
os: ${{ matrix.os }}

libs/utils/src/module.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+
// Copyright Emile Fugulin for modifications.
23
// SPDX-License-Identifier: Apache-2.0
34
// Source: https://github.com/awslabs/llrt/blob/07eb540a204dcdce44143220876630804f381ca6/llrt_utils/src/module.rs
45
use rquickjs::{module::Exports, Ctx, Object, Result, Value};

libs/utils/src/result.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+
// Copyright Emile Fugulin for modifications.
23
// SPDX-License-Identifier: Apache-2.0
34
// Source: https://github.com/awslabs/llrt/blob/07eb540a204dcdce44143220876630804f381ca6/llrt_utils/src/result.rs
45
use std::{fmt::Write, result::Result as StdResult};

modules/os/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+
// Copyright Emile Fugulin for modifications.
23
// SPDX-License-Identifier: Apache-2.0
34
use std::env;
45

0 commit comments

Comments
 (0)