Skip to content

fix: Github runner not accepting prompts in ubuntu update #77

fix: Github runner not accepting prompts in ubuntu update

fix: Github runner not accepting prompts in ubuntu update #77

Workflow file for this run

on: pull_request
name: Rust code check
jobs:
format:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./src-tauri
env:
PAPI_PATH: "placeholder"
OIDC_BASE_URL: "placeholder"
OIDC_CLIENT_ID: "placeholder"
OIDC_CLIENT_SECRET: "placeholder"
OIDC_TEKST_BASE_URL: "placeholder"
OIDC_TEKST_CLIENT_ID: "placeholder"
OIDC_TEKST_CLIENT_SECRET: "placeholder"
steps:
- uses: actions/checkout@v4
- name: Install dependencies (ubuntu only)
run: |
sudo apt-get update
sudo apt-get install -y libgtk-3-dev webkit2gtk-4.0 libappindicator3-dev librsvg2-dev patchelf
- name: Install Rust
uses: dtolnay/rust-toolchain@master
with:
toolchain: stable
components: rustfmt, clippy
- name: Run rustfmt
if: always()
run: cargo fmt --all -- --check
- name: Run clippy
if: always()
run: cargo clippy --all -- -D warnings
- name: Run tests
if: always()
run: cargo test --all