Renaming packages (#24) #21
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: Build | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: Swatinem/rust-cache@v2 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: '^1.22.0' | |
cache-dependency-path: "**/go.sum" | |
- run: go version | |
- name: Install Protoc | |
uses: arduino/setup-protoc@v3 | |
with: | |
version: "25.3" | |
- run: protoc --version | |
- name: Build language plugin | |
run: ./build.sh | |
working-directory: pulumi-language-wasm | |
- name: Build WASM support | |
run: | | |
cargo install cargo-component@0.9.0 --locked || cargo-component --version | |
cargo install wasm-tools@1.0.57 --locked || wasm-tools --version | |
./build.sh | |
- name: Run tests | |
run: cargo test --all --verbose |