make workflow better

This commit is contained in:
cy 2025-01-18 03:05:43 -05:00
parent 07fcbcb567
commit f2f8c204ee

View file

@ -7,7 +7,7 @@ jobs:
strategy: strategy:
matrix: matrix:
package: package:
- github:nixos/nixpkgs#hello - github:cything/nixpkgs/fd06e41125350bc3db5628df49d3b84e4652a59d#lact
os: os:
- ubuntu-latest - ubuntu-latest
- macos-latest - macos-latest
@ -18,15 +18,10 @@ jobs:
with: with:
logger: pretty logger: pretty
- uses: DeterminateSystems/magic-nix-cache-action@main - uses: DeterminateSystems/magic-nix-cache-action@main
- uses: cachix/cachix-action@v15
with:
name: cything
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}"
- name: Setup Attic cache - name: Setup Attic cache
uses: ryanccn/attic-action@v0 uses: ryanccn/attic-action@v0
with: with:
endpoint: ${{ vars.ATTIC_ENDPOINT }} endpoint: ${{ vars.ATTIC_ENDPOINT }}
cache: ${{ vars.ATTIC_CACHE }} cache: ${{ vars.ATTIC_CACHE }}
token: ${{ secrets.ATTIC_TOKEN }} token: ${{ secrets.ATTIC_TOKEN }}
- uses: actions/checkout@v4 - run: nix build -L '${{ matrix.package }}'
- run: nix build '${{ matrix.package }}'