test_attic_workflows/.forgejo/workflows/eval.yaml

29 lines
555 B
YAML
Raw Permalink Normal View History

2024-03-12 17:21:28 +01:00
name: build configuration
on:
push:
branches:
- main
jobs:
build:
2024-03-28 12:18:26 +01:00
runs-on: nix
2024-03-12 17:21:28 +01:00
steps:
- uses: actions/checkout@v3
2024-03-14 09:48:37 +01:00
- name: Test
run: |
nix path-info --all --json
2024-03-28 12:23:27 +01:00
ls -lah
2024-03-14 09:48:37 +01:00
2024-03-12 18:58:53 +01:00
- name: Setup Attic cache
2024-03-12 19:04:42 +01:00
uses: https://github.com/ryanccn/attic-action@v0
2024-03-12 18:58:53 +01:00
with:
endpoint: "https://cachix.dgnum.eu"
cache: ${{ secrets.ATTIC_CACHE }}
token: ${{ secrets.ATTIC_TOKEN }}
2024-03-12 17:21:28 +01:00
- name: Build
run: |
# Enter the shell
nix-build