Skip to content

Merge pull request #43 from nikeee/dependabot/cargo/clap-4.5.1 #43

Merge pull request #43 from nikeee/dependabot/cargo/clap-4.5.1

Merge pull request #43 from nikeee/dependabot/cargo/clap-4.5.1 #43

Workflow file for this run

name: CD
on:
push:
branches:
- master
env:
CARGO_TERM_COLOR: always
jobs:
build-core:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
components: rustfmt, clippy
- name: Set up cargo cache
uses: actions/cache@v4
continue-on-error: false
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
restore-keys: ${{ runner.os }}-cargo-
- name: Build
run: cargo build --release
- name: Archive standalone executables
uses: actions/upload-artifact@v4
with:
name: binaries
path: target/release/sparkasse-backup-decrypt