attic-action/.forgejo/workflows/test.yml

26 lines
473 B
YAML
Raw Normal View History

name: "Test"
on:
push:
branches: ["main"]
workflow_call:
workflow_dispatch:
jobs:
test-cache:
2024-09-01 14:42:16 +00:00
runs-on: nix-flakes
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Attic Cache
uses: ./
with:
2024-09-01 08:30:33 +00:00
endpoint: ${{ vars.ATTIC_ENDPOINT }}
cache: ${{ vars.ATTIC_CACHE }}
token: ${{ secrets.ATTIC_TOKEN }}
2023-07-19 02:51:10 +00:00
- name: Build Nix Package
run: nix-build test.nix