feat(ci): Use reusable workflow
All checks were successful
CI / flake-check (push) Successful in 1m29s
All checks were successful
CI / flake-check (push) Successful in 1m29s
This commit is contained in:
parent
acbc4d9d71
commit
4f8ffc7df7
2 changed files with 8 additions and 22 deletions
|
@ -1,22 +0,0 @@
|
|||
name: Check
|
||||
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
check:
|
||||
runs-on: ubuntu-latest-amd64
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Install Nix
|
||||
uses: https://github.com/DeterminateSystems/nix-installer-action@v4
|
||||
with:
|
||||
init: none
|
||||
planner: linux
|
||||
github-token: null
|
||||
- name: Setup Attic
|
||||
uses: https://github.com/ryanccn/attic-action@v0
|
||||
with:
|
||||
endpoint: ${{ secrets.ATTIC_ENDPOINT }}
|
||||
cache: ${{ secrets.ATTIC_CACHE }}
|
||||
token: ${{ secrets.ATTIC_TOKEN }}
|
||||
- run: nix flake check --keep-going
|
8
.github/workflows/ci.yaml
vendored
Normal file
8
.github/workflows/ci.yaml
vendored
Normal file
|
@ -0,0 +1,8 @@
|
|||
name: CI
|
||||
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
flake-check:
|
||||
uses: daniel/reusable-workflows/.github/workflows/nix-flake-check.yaml@main
|
||||
secrets: inherit
|
Reference in a new issue