Skip to content

feat: structured demo #22

feat: structured demo

feat: structured demo #22

Workflow file for this run

name: Validate and build
on:
workflow_dispatch:
push:
paths-ignore:
- '**/*.md'
branches:
- '**'
concurrency:
group: rustgems-${{ github.ref }}
cancel-in-progress: true
jobs:
validate:
if: "!contains(github.event.head_commit.message, 'NO_CI')"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions-rust-lang/setup-rust-toolchain@v1
with:
components: rustfmt, clippy
- uses: extractions/setup-just@v1
- name: fmt validation
run: cargo fmt -- --check
- name: clippy validation
run: just clippy-release
- uses: actions-rs/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
- uses: taiki-e/install-action@nextest
- name: Test
run: just test-all --release
build:
if: "!contains(github.event.head_commit.message, 'NO_CI')"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions-rust-lang/setup-rust-toolchain@v1
- uses: extractions/setup-just@v1
- name: Build in release mode
run: just build-release