Skip to content

build(deps): bump actions/upload-artifact from 4.4.3 to 4.5.0 in /.github/actions/build-nix #721

build(deps): bump actions/upload-artifact from 4.4.3 to 4.5.0 in /.github/actions/build-nix

build(deps): bump actions/upload-artifact from 4.4.3 to 4.5.0 in /.github/actions/build-nix #721

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-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/install-nix
with:
cachixAuthToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- run: nix fmt -L $(find . -type f -name '*.nix')
run:
runs-on: ubuntu-latest
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-latest
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-latest
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