Skip to content

build: prepare release v0.0.37 #159

build: prepare release v0.0.37

build: prepare release v0.0.37 #159

Workflow file for this run

name: Build and test
on:
push:
tags:
- "v*"
branches:
- main
pull_request:
env:
CARGO_TERM_COLOR: always
SQLX_OFFLINE: true
jobs:
ci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/[email protected]
- name: Check
run: |
rustup component add clippy
cargo clippy --no-deps
- name: Build
run: cargo build --release
- name: Test
run: cargo test --lib --bins && cargo test --workspace --lib --bins
publish:
if: startsWith( github.ref, 'refs/tags/v' )
uses: ./.github/workflows/publish.yaml
needs: ci
secrets: inherit