Skip to content

chore(deps): update github/codeql-action action to v4 #39

chore(deps): update github/codeql-action action to v4

chore(deps): update github/codeql-action action to v4 #39

Workflow file for this run

# SPDX-FileCopyrightText: Copyright (c) 2022-2025 trobonox <[email protected]>
#
# SPDX-License-Identifier: Apache-2.0
name: "Test Tauri app on pull requests"
permissions:
contents: read
pull-requests: write
on:
pull_request:
types: [ opened, reopened ]
branches:
- main
paths:
- '.github/workflows/**'
- 'src/**'
- 'src-tauri/**'
jobs:
test-tauri:
strategy:
fail-fast: false
matrix:
platform: [ubuntu-22.04]
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
- name: setup node
uses: actions/setup-node@v4
with:
node-version: 22
- name: install Rust stable
uses: actions-rs/toolchain@v1
with:
toolchain: stable
- name: install dependencies (ubuntu only)
if: matrix.platform == 'ubuntu-22.04'
run: |
sudo apt-get update
sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.1-dev libayatana-appindicator3-dev librsvg2-dev
- name: install app dependencies and build it
run: yarn && yarn generate
- uses: tauri-apps/tauri-action@v0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}