Skip to content
This repository has been archived by the owner on Dec 30, 2023. It is now read-only.

0.1.x

0.1.x #72

Workflow file for this run

---
name: CI
on:
workflow_dispatch: null
push:
branches:
- main
pull_request: null
env:
CARGO_TERM_COLOR: always
jobs:
test:
strategy:
matrix:
os:
- ubuntu-latest
- macos-latest
- windows-latest
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: "[Linux] System dependencies"
if: matrix.os == 'ubuntu-latest'
run: sudo apt-get update && sudo apt-get install libwebkit2gtk-4.0-dev build-essential curl wget libssl-dev libgtk-3-dev libayatana-appindicator3-dev librsvg2-dev
- name: Run tests
run: cargo test --all-features --verbose
clippy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: System dependencies
run: sudo apt-get update && sudo apt-get install libwebkit2gtk-4.0-dev build-essential curl wget libssl-dev libgtk-3-dev libayatana-appindicator3-dev librsvg2-dev
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
components: clippy
override: true
- uses: actions-rs/clippy-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --all-features