Skip to content

client/ts-web: bump @noble/curves from 1.4.0 to 1.6.0 in /client-sdk/ts-web #2807

client/ts-web: bump @noble/curves from 1.4.0 to 1.6.0 in /client-sdk/ts-web

client/ts-web: bump @noble/curves from 1.4.0 to 1.6.0 in /client-sdk/ts-web #2807

Workflow file for this run

# NOTE: This name appears in GitHub's Checks API and in workflow's status badge.
name: ci-examples
# Trigger the workflow when:
on:
# A push occurs to one of the matched branches.
push:
branches:
- main
- stable/*
# Or when a pull request event occurs for a pull request against one of the
# matched branches.
pull_request:
branches:
- main
- stable/*
# Cancel in-progress jobs on same branch.
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
lint-test-runtime-sdk:
name: lint-test-runtime-sdk
runs-on: ubuntu-latest
strategy:
matrix:
example: [runtime-sdk/minimal-runtime]
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Rust
run: rustup show
# Generate Cargo.lock needed for linting.
- name: Generate Cargo.lock
working-directory: examples/${{ matrix.example }}
run: cargo generate-lockfile
- name: Lint ${{ matrix.example }}
uses: ./.github/actions/lint-rust
with:
token: ${{ secrets.GITHUB_TOKEN }}
manifest_path: examples/${{ matrix.example }}/Cargo.toml
- name: Build and test ${{ matrix.example }}
working-directory: examples/${{ matrix.example }}
run: cargo test
lint-test-contract-sdk:
name: lint-test-contract-sdk
runs-on: ubuntu-latest
strategy:
matrix:
example: [contract-sdk/hello-world, contract-sdk/c10l-hello-world]
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Rust
run: rustup show
# Generate Cargo.lock needed for linting.
- name: Generate Cargo.lock
working-directory: examples/${{ matrix.example }}
run: cargo generate-lockfile
- name: Lint ${{ matrix.example }}
uses: ./.github/actions/lint-rust
with:
token: ${{ secrets.GITHUB_TOKEN }}
manifest_path: examples/${{ matrix.example }}/Cargo.toml
- name: Build ${{ matrix.example }} for wasm32
working-directory: examples/${{ matrix.example }}
run: cargo build --target wasm32-unknown-unknown --release
- name: Test ${{ matrix.example }}
working-directory: examples/${{ matrix.example }}
run: cargo test
lint-test-client-sdk-go:
name: lint-test-client-sdk-go
runs-on: ubuntu-latest
strategy:
matrix:
example: [client-sdk/go/minimal-runtime-client]
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: "1.22.x"
# Generate go.sum needed for linting.
- name: Generate go.sum
working-directory: examples/${{ matrix.example }}
run: go get
# NOTE: "file exists" tar errors can be safely ignored, because go is already installed.
- name: Lint ${{ matrix.example }}
uses: golangci/[email protected]
with:
# NOTE: The version must be specified without the patch version.
version: v1.54.2
working-directory: examples/${{ matrix.example }}
- name: Build ${{ matrix.example }}
working-directory: examples/${{ matrix.example }}
run: go build