Skip to content

feat: v0.7.0

feat: v0.7.0 #54

Workflow file for this run

name: Rust
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
env:
CARGO_TERM_COLOR: always
SQLX_OFFLINE: true
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
steps:
- uses: actions/checkout@v4
- name: Cache cargo
uses: actions/cache@v4
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Fmt
run: cargo fmt --all
- name: Build
run: cargo build --release --verbose
- name: Upload build artifacts
uses: actions/upload-artifact@v4
with:
name: emunex-build-${{ matrix.os }}
path: |
target/release/emunex-server
target/release/emunex-server.exe
templates/
public/