Skip to content

Add release GitHub workflow with autoupdater and local FS sidecar #1

Add release GitHub workflow with autoupdater and local FS sidecar

Add release GitHub workflow with autoupdater and local FS sidecar #1

Workflow file for this run

name: Build
on:
push:
branches:
- main
pull_request:
branches:
- main
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Prerequisites
uses: awalsh128/cache-apt-pkgs-action@latest
with:
packages: libwebkit2gtk-4.0-dev build-essential curl wget file libssl-dev libgtk-3-dev libayatana-appindicator3-dev librsvg2-dev
version: 1.0
- name: Checkout
uses: actions/checkout@v3
- name: Cache Rust
uses: actions/cache@v3
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Build
run: cargo build
- name: Run tests
run: cargo test