RCON console: Preserve linebreaks and top-align icon #99
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Check PR | |
on: | |
pull_request: | |
branches-ignore: ["v1"] | |
workflow_dispatch: | |
jobs: | |
check: | |
name: Check PR | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 23 | |
- uses: actions-rust-lang/setup-rust-toolchain@v1 | |
with: | |
components: rustfmt, clippy | |
- name: Install build dependencies | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y \ | |
libwebkit2gtk-4.1-dev \ | |
build-essential \ | |
curl \ | |
wget \ | |
file \ | |
libxdo-dev \ | |
libssl-dev \ | |
libayatana-appindicator3-dev \ | |
librsvg2-dev | |
- name: Install frontend dependencies | |
run: npm ci | |
- uses: tauri-apps/tauri-action@v0 | |
with: | |
# Only build in debug mode so the following | |
# steps don't have to compile again. | |
includeDebug: true | |
includeRelease: false | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: Run backend tests | |
run: cargo test --all-features | |
- name: Lint backend | |
run: | | |
cargo fmt --check | |
cargo clippy --all-features --tests -- -D warnings | |
- name: Lint frontend | |
run: | | |
npm run typecheck | |
npx biome ci |