Skip to content

Fix SSH interactive session - add -t flag for PTY allocation #9

Fix SSH interactive session - add -t flag for PTY allocation

Fix SSH interactive session - add -t flag for PTY allocation #9

Workflow file for this run

name: CI
on:
push:
branches: [ main, master, develop ]
pull_request:
branches: [ main, master, develop ]
jobs:
test:
name: Test
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.24'
- name: Download dependencies
run: go mod download
- name: Run tests
run: go test -v ./...
- name: Build
run: go build -v ./cmd/leap
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.24'
- name: golangci-lint
uses: golangci/golangci-lint-action@v4
with:
version: latest
args: --timeout=5m
build-matrix:
name: Build Matrix
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.24'
- name: Build
run: go build -v ./cmd/leap
- name: Test binary
if: runner.os != 'Windows'
run: ./leap --version
- name: Test binary (Windows)
if: runner.os == 'Windows'
run: .\leap.exe --version