Skip to content
This repository was archived by the owner on Jul 28, 2025. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 18 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,12 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Install Rust
run: rustup update stable --no-self-update && rustup default stable && rustup target add wasm32-wasi && rustup target add wasm32-unknown-unknown
shell: bash
run: |
rustup update stable --no-self-update
rustup default stable
rustup target add wasm32-wasip2
rustup target add wasm32-unknown-unknown
- name: Build all crates
run: cargo build --all --features warg-server/debug
- name: Run all tests
Expand All @@ -35,10 +39,14 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Install Rust
run: rustup update stable --no-self-update && rustup default stable && rustup target add wasm32-wasi && rustup target add wasm32-unknown-unknown
shell: bash
run: |
rustup update stable --no-self-update
rustup default stable
rustup target add wasm32-wasip2
rustup target add wasm32-unknown-unknown
- name: Install diesel-cli
run: cargo install diesel_cli
run: cargo install --no-default-features --features postgres diesel_cli
- name: Build all crates
run: cargo build --all --features postgres
- name: Run postgres tests
Expand All @@ -50,7 +58,9 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Install Rust
run: rustup update stable --no-self-update && rustup default stable
run: |
rustup update stable --no-self-update
rustup default stable
- name: Install warg CLI
run: cargo install --locked --path .

Expand All @@ -60,6 +70,9 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Install Rust
run: rustup update stable && rustup default stable && rustup component add rustfmt
run: |
rustup update stable
rustup default stable
rustup component add rustfmt
- name: Run `cargo fmt`
run: cargo fmt -- --check
Loading