Skip to content

Default to "" for arguments that use the hacky OptionThing types #32

Default to "" for arguments that use the hacky OptionThing types

Default to "" for arguments that use the hacky OptionThing types #32

Workflow file for this run

name: Build artifacts
on:
workflow_dispatch:
workflow_call:
pull_request:
push:
branches: [main]
jobs:
build-artifacts-X64-Linux:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: DeterminateSystems/nix-installer-action@v4
- uses: DeterminateSystems/magic-nix-cache-action@main
- uses: DeterminateSystems/flake-checker-action@v4
- name: "Nix formatting"
run: git ls-files '*.nix' | nix develop --command xargs nixpkgs-fmt --check
- name: "Rust formatting"
run: nix develop --command cargo fmt --check
- name: "Clippy"
run: nix develop --command cargo clippy --all-targets --all-features -- -Dwarnings
- name: "Nix Flake Check"
run: nix flake check --print-build-logs
- name: Build package
run: "nix build .# -L --fallback"
- name: Upload a Build Artifact
uses: actions/[email protected]
with:
# Artifact name
name: nxfr-push-X64-Linux
path: result/bin/nxfr-push
retention-days: 1