Skip to content

API improvements for Tauri SDK #73

API improvements for Tauri SDK

API improvements for Tauri SDK #73

Workflow file for this run

name: Build and test
on:
push:
pull_request:
branches:
- main
env:
CARGO_TERM_COLOR: always
jobs:
rust:
name: Build and test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name != github.repository)
- name: Cache
if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name != github.repository)
uses: actions/cache@v4
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- run: rustup update stable && rustup default stable && rustup component add clippy
if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name != github.repository)
- run: cargo build --verbose
name: Building project
if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name != github.repository)
- run: cargo clippy
if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name != github.repository)
- run: cargo test --verbose
name: Testing project
if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name != github.repository)