Skip to content

Build feather-font derivation only on x86_64 #6

Build feather-font derivation only on x86_64

Build feather-font derivation only on x86_64 #6

Workflow file for this run

name: Statix Lint
on:
push:
branches:
- main
paths-ignore:
- '.github/**'
- 'README.md'
jobs:
build:
runs-on: ubuntu-latest
outputs:
build-success: ${{ steps.build-result.outputs.success }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@main
- name: Run statix linter
run: |
echo "Linting Flake..."
if nix run --extra-experimental-features 'nix-command flakes' nixpkgs#statix -- check .; then
echo "success=true" >> $GITHUB_ENV
else
echo "Lint failed, listing flake.lock for debugging:"
cat flake.lock
echo "success=false" >> $GITHUB_ENV
exit 1
fi
- name: Determine lint result
id: build-result
run: echo "success=${{ env.success }}" >> $GITHUB_OUTPUT