fork/eza
git clone https://git.julia.blue/fork/eza
ea5c1e0a
v0.16.1
1on : 2workflow_dispatch : 3pull_request : 4branches : [ main ] 5paths : 6- '.github/workflows/flake.yml' 7- 'src/**' 8- 'Cargo.*' 9- "*.toml" 10- "flake.*" 11- "*.nix" 12- "*.rs" 13push : 14branches : [ main ] 15paths : 16- '.github/workflows/flake.yml' 17- 'src/**' 18- 'Cargo.*' 19- "*.toml" 20- "flake.*" 21- "*.nix" 22- "*.rs" 23 24concurrency : 25group : ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }} 26cancel-in-progress : true 27 28jobs : 29flake-checker : 30name : Flake Checker 31runs-on : ubuntu-22.04 32steps : 33- uses : actions/checkout@v4 34- name : Check Nix flake inputs 35uses : DeterminateSystems/flake-checker-action@v5 36 37check : 38name : Check Nix Flake 39runs-on : ubuntu-22.04 40steps : 41- uses : actions/checkout@v4 42- name : Install Nix 43uses : DeterminateSystems/nix-installer-action@v7 44- name : Setup Nix cache 45uses : DeterminateSystems/magic-nix-cache-action@main 46- name : Nix Flake Check 47run : nix flake check --all-systems 48 49build : 50name : Build Nix package 51 52# if cross compilation is desired add 'aarch64-linux', 'x86_64-darwin' and 'aarch64-darwin' and fix the flake to support cross compilation. 53strategy : 54matrix : 55target : [ x86_64-linux ] 56runs-on : ubuntu-22.04 57steps : 58- uses : actions/checkout@v4 59- name : Install Nix 60uses : DeterminateSystems/nix-installer-action@v7 61- name : Setup Nix cache 62uses : DeterminateSystems/magic-nix-cache-action@main 63- name : Nix Build 64run : nix build .#packages.${{ matrix.target }}.default