Skip to content

Fix GitHub workflow

Fix GitHub workflow #3

Workflow file for this run

name: build
on: [push, pull_request]
jobs:
build-api:
name: Build API
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
- uses: Swatinem/rust-cache@v1
- run: cargo build --locked --all-features --bin fastreach-api
build-ui:
name: Build UI
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install and Build
run: |
cd fastreach-ui
npm install
npm run build
lints:
name: Lints
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
components: clippy
- uses: Swatinem/rust-cache@v1
- run: cargo clippy -- -D warnings -W clippy::all -W clippy::pedantic