name: Smoke Tests on: pull_request: branches: [main] push: branches: [main] # The job only checks out code and runs tests, so a read-only token suffices. permissions: contents: read jobs: test: runs-on: ubuntu-latest steps: - name: Checkout repository uses: actions/checkout@v4 # Node 24 is the Active LTS. The 2.0 MCP SDK packages require >=20, but # Node 20 reached end of life in April 2026. - name: Set up Node.js uses: actions/setup-node@v4 with: node-version: "24" - name: Set up Python uses: actions/setup-python@v5 with: python-version: "3.10" - name: Install uv run: | curl -LsSf https://astral.sh/uv/install.sh | sh echo "$HOME/.cargo/bin" >> $GITHUB_PATH - name: Set up Rust uses: actions-rust-lang/setup-rust-toolchain@v1 with: toolchain: stable - name: Set up Go uses: actions/setup-go@v5 with: go-version: "1.25" # 3.4 is the current stable series. 3.3 is supported until March 2027; 3.2 # reached end of life in March 2026. - name: Set up Ruby uses: ruby/setup-ruby@v1 with: ruby-version: "3.4" - name: Run smoke tests run: ./tests/smoke-test.sh