chore(deps): update actions/checkout digest to 692973e #16
Workflow file for this run
This file contains 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
# SPDX-FileCopyrightText: Copyright (c) 2022-2024 trobonox <[email protected]> | |
# | |
# SPDX-License-Identifier: Apache-2.0 | |
name: "Test Tauri app on pull requests" | |
on: | |
pull_request: | |
types: [ opened, reopened ] | |
branches: | |
- main | |
paths: | |
- '.github/workflows/**' | |
- 'src/**' | |
- 'src-tauri/**' | |
jobs: | |
test-tauri: | |
strategy: | |
fail-fast: false | |
matrix: | |
platform: [ubuntu-20.04] | |
runs-on: ${{ matrix.platform }} | |
steps: | |
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4 | |
- name: setup node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 18 | |
- name: install Rust stable | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
- name: install dependencies (ubuntu only) | |
if: matrix.platform == 'ubuntu-20.04' | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y libgtk-3-dev webkit2gtk-4.0 libappindicator3-dev librsvg2-dev patchelf | |
- name: install app dependencies and build it | |
run: yarn && yarn generate | |
- uses: tauri-apps/tauri-action@v0 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |