Skip to content

feat: improve error message #31

feat: improve error message

feat: improve error message #31

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