This commit is contained in:
parent
dbc99864df
commit
c66846d148
|
@ -3,20 +3,15 @@ on: [push]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
Check:
|
Check:
|
||||||
runs-on: ubuntu-latest
|
runs-on: nix-flakes
|
||||||
env:
|
|
||||||
USER: root
|
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repository code
|
- name: Check out repository code
|
||||||
uses: https://code.forgejo.org/actions/checkout@v4
|
uses: https://code.forgejo.org/actions/checkout@v4
|
||||||
- name: Install sudo
|
|
||||||
run: "apt update && apt install -y sudo"
|
|
||||||
- name: Install nix
|
|
||||||
uses: https://github.com/cachix/install-nix-action@v23
|
|
||||||
- name: Prepare cachix
|
- name: Prepare cachix
|
||||||
uses: https://github.com/cachix/cachix-action@v12
|
uses: https://github.com/cachix/cachix-action@v12
|
||||||
with:
|
with:
|
||||||
name: pub-solar
|
name: pub-solar
|
||||||
|
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
|
||||||
- name: Run flake checks
|
- name: Run flake checks
|
||||||
run: |
|
run: |
|
||||||
nix --print-build-logs --verbose --accept-flake-config flake check
|
nix --print-build-logs --verbose --accept-flake-config flake check
|
||||||
|
|
Loading…
Reference in a new issue