attic-action/.forgejo/workflows/test.yml
Naxdy 6544c41112
Some checks failed
Test / test-cache (push) Failing after 2s
ci: run on nix-flakes
2024-09-01 16:42:16 +02:00

25 lines
473 B
YAML

name: "Test"
on:
push:
branches: ["main"]
workflow_call:
workflow_dispatch:
jobs:
test-cache:
runs-on: nix-flakes
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Attic Cache
uses: ./
with:
endpoint: ${{ vars.ATTIC_ENDPOINT }}
cache: ${{ vars.ATTIC_CACHE }}
token: ${{ secrets.ATTIC_TOKEN }}
- name: Build Nix Package
run: nix-build test.nix