Started pushing to cachix

This commit is contained in:
Alejandro Angulo 2024-04-24 20:35:54 -07:00
parent 8f2c5a526e
commit a6e57c5aa3
Signed by: alejandro-angulo
GPG key ID: 75579581C74554B6

View file

@ -1,12 +1,15 @@
name: "Build" name: "Build"
on: on: [pull_request, push]
pull_request:
jobs: jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- uses: cachix/install-nix-action@v19 - uses: cachix/install-nix-action@v25
- uses: cachix/cachix-action@v14
with:
name: alejandr0angul0-resume
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- run: nix build - run: nix build
- run: nix flake check - run: nix flake check
- run: nix run - run: nix run
@ -18,7 +21,7 @@ jobs:
with: with:
fetch-depth: 0 fetch-depth: 0
- uses: cachix/install-nix-action@v19 - uses: cachix/install-nix-action@v25
- run: echo "PY=$(python -VV | sha256sum | cut -d' ' -f1)" >> $GITHUB_ENV - run: echo "PY=$(python -VV | sha256sum | cut -d' ' -f1)" >> $GITHUB_ENV