use wit version 1.0.0 #40
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Check | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
test: | |
name: test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: "Set up Dotnet SDK" | |
run: | | |
sudo apt-get update | |
sudo apt-get install software-properties-common -y | |
sudo add-apt-repository ppa:dotnet/backports | |
sudo apt-get update | |
sudo apt-get install dotnet-sdk-9.0 -y | |
- name: Install edgee | |
uses: edgee-cloud/[email protected] | |
- name: Build component | |
run: | | |
edgee components build | |
- name: Verify .wasm file exists | |
run: | | |
if [ ! -f "./dc_component.wasm" ]; then | |
echo "❌ Error: dc_component.wasm not found" >&2 | |
exit 1 | |
fi |