Skip to content

Merge pull request #1221 from h3poteto/renovate/parse-link-header-2.x #2368

Merge pull request #1221 from h3poteto/renovate/parse-link-header-2.x

Merge pull request #1221 from h3poteto/renovate/parse-link-header-2.x #2368

Workflow file for this run

name: Test
on:
push:
branches: [ "master" ]
pull_request:
env:
CARGO_TERM_COLOR: always
jobs:
frontend:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- uses: actions/setup-node@v3
with:
node-version: 18
- uses: pnpm/action-setup@v2
with:
version: 8
- name: Install dependencies
run: |
pnpm install --frozen-lockfile
- name: Run tests
run: |
pnpm run test
backend:
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- name: Install packages
run: |
sudo apt-get update
sudo apt-get install build-essential libwebkit2gtk-4.0-dev libssl-dev libgtk-3-dev libayatana-appindicator3-dev librsvg2-dev
- name: Build
working-directory: ./src-tauri
run: cargo build --verbose
- name: Run tests
working-directory: ./src-tauri
run: cargo test --verbose