Skip to content

Commit

Permalink
Update GH action from wai to wit (WebAssembly#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
linclark authored Jan 27, 2022
1 parent 00d5a50 commit b9cb502
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: WebAssembly/wai-abi-up-to-date@v1
- uses: WebAssembly/wit-abi-up-to-date@v2
with:
wai-abi-tag: wai-abi-0.1.0
wit-abi-tag: wit-abi-0.1.0
10 changes: 5 additions & 5 deletions proposal-template.abi.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Types

## <a href="#api_type_one" name="api_type_one"></a> `api_type_one`: record
## <a href="#api_type_one" name="api_type_one"></a> `api-type-one`: record

Short description

Expand All @@ -10,22 +10,22 @@ Size: 16, Alignment: 8

### Record Fields

- <a href="api_type_one.property_1" name="api_type_one.property_1"></a> [`property_1`](#api_type_one.property_1): `u64`
- <a href="api_type_one.property1" name="api_type_one.property1"></a> [`property1`](#api_type_one.property1): `u64`


- <a href="api_type_one.property_2" name="api_type_one.property_2"></a> [`property_2`](#api_type_one.property_2): `string`
- <a href="api_type_one.property2" name="api_type_one.property2"></a> [`property2`](#api_type_one.property2): `string`


# Functions

----

#### <a href="#api_function_one" name="api_function_one"></a> `api_function_one`
#### <a href="#api_function_one" name="api_function_one"></a> `api-function-one`

Short description

Explanation for developers using the API.
##### Results

- <a href="#api_function_one." name="api_function_one."></a> ``: [`api_type_one`](#api_type_one)
- <a href="#api_function_one." name="api_function_one."></a> ``: [`api-type-one`](#api_type_one)

8 changes: 4 additions & 4 deletions proposal-template.wit.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
/// Short description
///
/// Explanation for developers using the API.
record api_type_one {
property_1: u64,
property_2: string,
record api-type-one {
property1: u64,
property2: string,
}
```

Expand All @@ -26,7 +26,7 @@ More rigorous specification details for the implementer go here, if needed.
/// Short description
///
/// Explanation for developers using the API.
api_function_one: function() -> api_type_one
api-function-one: function() -> api-type-one
```

If needed, this would explain what a compliant implementation MUST do, such as never returning an earlier result from a later call.

0 comments on commit b9cb502

Please sign in to comment.