Skip to content

The IDE you know, rebuilt in Rust. IntelliJ IDEA–style keymap, tool windows and search-everywhere in a fast native app: editor, code insight, debugger, Git, terminal, database and HTTP clients for 60+ languages.

ci: add a cargo-deny job and run CI on pull requests to main (#305)

KairosMakki15d926a5d81a
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 0866d2275..5a1236d6a 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -3,6 +3,8 @@ on:
push:
branches: [main]
pull_request:
+ branches: [main]
+ types: [opened, synchronize, reopened]
workflow_dispatch:
concurrency:
@@ -69,6 +71,15 @@ jobs:
- run: cargo build --locked -p ide-host --bin openidea-server --target x86_64-unknown-linux-musl
- run: target/x86_64-unknown-linux-musl/debug/openidea-server --version
+ deny:
+ name: Cargo deny
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v4
+ - uses: dtolnay/rust-toolchain@stable
+ - uses: taiki-e/install-action@cargo-deny
+ - run: cargo deny check
+
frontend:
name: Frontend
runs-on: ubuntu-22.04