Skip to content

refactor: enhance error handling for benign socket errors in proxy tests #38

refactor: enhance error handling for benign socket errors in proxy tests

refactor: enhance error handling for benign socket errors in proxy tests #38

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
workflow_dispatch:
permissions:
contents: read
concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
name: Go, Rust, JavaScript, Puppeteer, and build checks
runs-on: ubuntu-24.04
timeout-minutes: 30
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
cache: true
- name: Set up Rust
uses: dtolnay/rust-toolchain@stable
with:
targets: wasm32-unknown-unknown
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: lts/*
cache: npm
- name: Print toolchain versions
run: |
go version
rustc --version
cargo --version
node --version
npm --version
- name: Install wasm-bindgen CLI
run: cargo install wasm-bindgen-cli --version 0.2.122 --locked
- name: Install Node dependencies
run: npm ci
- name: Run Rust rewriter tests
run: cargo test --manifest-path rewriter-rs/Cargo.toml
- name: Run Go tests
run: go test ./...
- name: Run JavaScript and Puppeteer tests
run: npm test
- name: Build deployable artifacts
run: npm run build