Skip to content
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
28 changes: 23 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,15 @@ permissions:

jobs:
lint:
runs-on: ubuntu-latest
runs-on: [self-hosted, node-b, linux, x64]
steps:
- uses: actions/checkout@v7
# The self-hosted runner image has no Rust toolchain preinstalled,
# unlike ubuntu-latest. Pinned to match rust-toolchain.toml.
- uses: dtolnay/rust-toolchain@master
with:
toolchain: "1.95.0"
components: clippy,rustfmt
- uses: Swatinem/rust-cache@v2
- uses: actions/setup-node@v7
with:
Expand All @@ -36,9 +42,15 @@ jobs:
- run: cargo clippy --workspace --all-features --locked -- -D warnings

test:
runs-on: ubuntu-latest
runs-on: [self-hosted, node-b, linux, x64]
steps:
- uses: actions/checkout@v7
# The self-hosted runner image has no Rust toolchain preinstalled,
# unlike ubuntu-latest. Pinned to match rust-toolchain.toml.
- uses: dtolnay/rust-toolchain@master
with:
toolchain: "1.95.0"
components: clippy,rustfmt
- uses: Swatinem/rust-cache@v2
- uses: actions/setup-node@v7
with:
Expand All @@ -52,9 +64,15 @@ jobs:
- run: cargo test --workspace --all-features --locked

build:
runs-on: ubuntu-latest
runs-on: [self-hosted, node-b, linux, x64]
steps:
- uses: actions/checkout@v7
# The self-hosted runner image has no Rust toolchain preinstalled,
# unlike ubuntu-latest. Pinned to match rust-toolchain.toml.
- uses: dtolnay/rust-toolchain@master
with:
toolchain: "1.95.0"
components: clippy,rustfmt
- uses: Swatinem/rust-cache@v2
- uses: actions/setup-node@v7
with:
Expand All @@ -68,7 +86,7 @@ jobs:
- run: cargo build --workspace --all-features --locked

ui:
runs-on: ubuntu-latest
runs-on: [self-hosted, node-b, linux, x64]
strategy:
matrix:
project: [ui, client]
Expand All @@ -85,7 +103,7 @@ jobs:
run: npm run build

ui-e2e:
runs-on: ubuntu-latest
runs-on: [self-hosted, node-b, linux, x64]
steps:
- uses: actions/checkout@v7
- uses: actions/setup-node@v7
Expand Down
Loading