Skip to content

Update action install-nix and update-flake-lock. #14

Update action install-nix and update-flake-lock.

Update action install-nix and update-flake-lock. #14

Workflow file for this run

name: build
on: push
#
jobs:
build-package:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4
- name: install nix
uses: cachix/install-nix-action@v23
- uses: cachix/cachix-action@v12
with:
name: opensource
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- run: nix build --accept-flake-config
build-devshell:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4
- name: install nix
uses: cachix/install-nix-action@v23
- uses: cachix/cachix-action@v12
with:
name: opensource
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- run: nix build .#devShells.x86_64-linux.default --accept-flake-config
check:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4
- name: install nix
uses: cachix/install-nix-action@v23
- uses: cachix/cachix-action@v12
with:
name: opensource
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- run: nix flake check --accept-flake-config