Skip to content

The great From<T> implementations #44

The great From<T> implementations

The great From<T> implementations #44

Workflow file for this run

name: Rust build
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
workflow_dispatch:
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/cache@v4
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Build
run: cargo build --release
- name: Upload Built Binary
uses: actions/upload-artifact@v3.2.0-node20
with:
name: built-binary
path: |
target/release/kromer-economy
if-no-files-found: error