Skip to content

chore: improve code readability and subdivide error handling #10

chore: improve code readability and subdivide error handling

chore: improve code readability and subdivide error handling #10

Workflow file for this run

name: Release
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- name: Build
run: cargo build --release
- name: Run tests
run: cargo test
- name: Install cargo-release
run: cargo install cargo-release
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
run: |
git config user.name I-Want-ToBelieve
git config user.email [email protected]
cargo release --execute --no-confirm