Skip to content

Update github actions and add action to free space. #25

Update github actions and add action to free space.

Update github actions and add action to free space. #25

Workflow file for this run

name: build-project
on: push
#
jobs:
build-package:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4
- uses: jlumbroso/free-disk-space@main
- name: install nix
uses: cachix/install-nix-action@v27
- uses: cachix/cachix-action@v15
with:
name: opensource
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- run: nix build --accept-flake-config --option sandbox false
build-dev-shell:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4
- name: install nix
uses: cachix/install-nix-action@v27
- uses: cachix/cachix-action@v15
with:
name: opensource
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- run: nix build .#devShells.x86_64-linux.default --accept-flake-config