Skip to content

build(deps): bump DeterminateSystems/nix-installer-action from 15 to 16 in /.github/actions/install-nix #682

build(deps): bump DeterminateSystems/nix-installer-action from 15 to 16 in /.github/actions/install-nix

build(deps): bump DeterminateSystems/nix-installer-action from 15 to 16 in /.github/actions/install-nix #682

Workflow file for this run

name: nix
on:
pull_request:
push:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
fmt:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/install-nix
with:
cachixAuthToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- run: nix fmt
run:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/install-nix
with:
cachixAuthToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- run: nix run -L . -- --version
develop:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/install-nix
with:
cachixAuthToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- run: nix develop -L --ignore-environment -c cargo tree
check:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/install-nix
with:
cachixAuthToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- run: |
nix build -L \
.#checks.x86_64-linux.cli \
.#checks.x86_64-linux.clocks \
.#checks.x86_64-linux.filesystem \
.#checks.x86_64-linux.http \
.#checks.x86_64-linux.io \
.#checks.x86_64-linux.poll \
.#checks.x86_64-linux.random \
.#checks.x86_64-linux.sockets