Skip to content

fix(terminal): restore scroll-on-output for background terminal stick… #89

fix(terminal): restore scroll-on-output for background terminal stick…

fix(terminal): restore scroll-on-output for background terminal stick… #89

Workflow file for this run

name: CI
on:
push:
tags: ["v*"]
env:
CARGO_TERM_COLOR: always
jobs:
test:
name: Test
runs-on: ubuntu-24.04
container:
image: ghcr.io/asermax/seemux-ci:latest
credentials:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v6
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
- name: Cache cargo
uses: Swatinem/rust-cache@v2
with:
shared-key: seemux-ci
- name: Run tests
run: cargo test --locked
clippy:
name: Clippy
runs-on: ubuntu-24.04
container:
image: ghcr.io/asermax/seemux-ci:latest
credentials:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v6
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
with:
components: clippy
- name: Cache cargo
uses: Swatinem/rust-cache@v2
with:
shared-key: seemux-ci
- name: Run clippy
run: cargo clippy --locked
build-release:
name: Build & Release
needs: [test, clippy]
runs-on: ubuntu-24.04
permissions:
contents: write
container:
image: ghcr.io/asermax/seemux-ci:latest
credentials:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v6
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
- name: Cache cargo
uses: Swatinem/rust-cache@v2
with:
shared-key: seemux-ci
- name: Build release binary
run: cargo build --release --locked
- name: Strip and rename binaries
run: |
strip target/release/seemux target/release/seemux-tmux-shim
cp target/release/seemux seemux-linux-x86_64
cp target/release/seemux-tmux-shim seemux-tmux-shim-linux-x86_64
- name: Create GitHub Release
uses: softprops/action-gh-release@v2
with:
generate_release_notes: true
files: |
seemux-linux-x86_64
seemux-tmux-shim-linux-x86_64