Skip to content

feat: Show open tabs in the Window menu #337

feat: Show open tabs in the Window menu

feat: Show open tabs in the Window menu #337

Workflow file for this run

name: Rust
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on:
push:
branches: [main]
pull_request:
paths:
- "backend/**"
- "crates/**"
- ".github/**"
env:
CARGO_TERM_COLOR: always
jobs:
rust-checks:
name: ${{ matrix.name }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
include:
- name: Test (Ubuntu)
command: test
components: ""
os: depot-ubuntu-22.04-4
- name: Test (macOS ARM)
command: test
components: ""
os: macos-latest
- name: Check
command: check
components: ""
os: depot-ubuntu-22.04-4
- name: Clippy
command: clippy
components: clippy
os: depot-ubuntu-22.04-4
- name: Format
command: fmt
components: rustfmt
os: depot-ubuntu-22.04-4
steps:
- uses: actions/checkout@v4
- name: Install latest rust
uses: dtolnay/rust-toolchain@master
with:
toolchain: stable
components: ${{ matrix.components }}
- uses: awalsh128/cache-apt-pkgs-action@latest
if: runner.os == 'Linux'
with:
packages: libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf
version: 1.0
- name: Run sccache-cache
uses: mozilla-actions/sccache-action@v0.0.7
- name: Run ${{ matrix.name }}
env:
RUSTC_WRAPPER: sccache
run: |
case "${{ matrix.command }}" in
test)
cargo test
;;
check)
cargo check --no-default-features
;;
clippy)
cargo clippy -- -D warnings
;;
fmt)
cargo fmt -- --check
;;
esac