Skip to content

Commit

Permalink
clean up ci
Browse files Browse the repository at this point in the history
  • Loading branch information
sehz committed Jan 30, 2025
1 parent db4c8fc commit 9a2b109
Showing 1 changed file with 30 additions and 4 deletions.
34 changes: 30 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
name: main CI workflow for PR

permissions: read-all

concurrency:
group: ci-${{ github.ref }}
Expand Down Expand Up @@ -47,8 +46,8 @@ jobs:
run: make clippy


build:
name: build
build-web:
name: Build web lib
runs-on: ubuntu-latest


Expand All @@ -71,6 +70,32 @@ jobs:
- name: Build web
run: make -C crates/fluvio-web build


build-widget:
name: Build widget
runs-on: ubuntu-latest


steps:
- name: Checkout Source Code
uses: actions/checkout@v4


- name: Install Rust stable
uses: dtolnay/rust-toolchain@stable

- name: install wasm target
run: rustup target add ${{ env.WASI_TARGET }}


- name: Setup Rust Cache
uses: Swatinem/rust-cache@v2
timeout-minutes: 10

- name: install trunk
run: cargo binstall trunk


- name: Build widget
run: make -C widgets/counter build

Expand All @@ -81,7 +106,8 @@ jobs:
name: Done
needs:
- check
- build
- build-web
- build-widget
runs-on: ubuntu-latest
if: always()
steps:
Expand Down

0 comments on commit 9a2b109

Please sign in to comment.