28 lines
555 B
YAML
28 lines
555 B
YAML
name: build configuration
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: nix
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
|
|
- name: Test
|
|
run: |
|
|
nix path-info --all --json
|
|
ls -lah
|
|
|
|
- name: Setup Attic cache
|
|
uses: https://github.com/ryanccn/attic-action@v0
|
|
with:
|
|
endpoint: "https://cachix.dgnum.eu"
|
|
cache: ${{ secrets.ATTIC_CACHE }}
|
|
token: ${{ secrets.ATTIC_TOKEN }}
|
|
|
|
- name: Build
|
|
run: |
|
|
# Enter the shell
|
|
nix-build
|