summaryrefslogblamecommitdiff
path: root/.github/workflows/build.yml
blob: e635a98cb02ca04459901fb0f43414c64280c0f1 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14













                      
                             








                                                                                             
name: "nix-build"
on:
  pull_request_target:
    branches:
      - 'master'
  push:
    branches:
      - 'master'
  workflow_dispatch:
jobs:
  nix-build:
    strategy:
      fail-fast: false
      matrix:
        os: [ ubuntu-latest ]
    runs-on: ${{ matrix.os }}
    steps:
    - name: Checkout repository
      uses: actions/checkout@v4
    - name: Install Nix
      uses: DeterminateSystems/nix-installer-action@v12
    - uses: DeterminateSystems/magic-nix-cache-action@v7
    - name: Build some-pkgs
      run: nix run github:Mic92/nix-fast-build -- --skip-cached --no-nom --flake ".#packages"