|
|
@ -22,13 +22,20 @@ jobs:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
if: ${{ !env.ACT }}
|
|
|
|
if: ${{ !env.ACT }}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- name: Install OS-specific dependencies
|
|
|
|
|
|
|
|
uses: knicknic/os-specific-run@v1.0.3
|
|
|
|
|
|
|
|
with:
|
|
|
|
|
|
|
|
linux: |
|
|
|
|
|
|
|
|
sudo apt-get update
|
|
|
|
|
|
|
|
DEBIAN_FRONTEND=noninteractive sudo apt-get install libwebkit2gtk-4.0-dev libgtk-3-dev libappindicator3-dev -y
|
|
|
|
|
|
|
|
|
|
|
|
- name: Check api
|
|
|
|
- name: Check api
|
|
|
|
working-directory: mediarepo-api
|
|
|
|
working-directory: mediarepo-api
|
|
|
|
run: cargo check
|
|
|
|
run: cargo check --all-features
|
|
|
|
|
|
|
|
|
|
|
|
- name: Check daemon
|
|
|
|
- name: Check daemon
|
|
|
|
working-directory: mediarepo-daemon
|
|
|
|
working-directory: mediarepo-daemon
|
|
|
|
run: cargo check
|
|
|
|
run: cargo check --no-default-features
|
|
|
|
|
|
|
|
|
|
|
|
- name: Check ui backend
|
|
|
|
- name: Check ui backend
|
|
|
|
working-directory: mediarepo-ui/src-tauri
|
|
|
|
working-directory: mediarepo-ui/src-tauri
|
|
|
|