From fc24912db6fdb71a55406590763ad986e87eff62 Mon Sep 17 00:00:00 2001
From: Dasha Mukhina <git@myxa.me>
Date: Wed, 4 Sep 2024 22:43:22 +0400
Subject: [PATCH] ci: re-enable nix build job and update actions

---
 .github/workflows/build.yml | 23 ++++++++++++-----------
 1 file changed, 12 insertions(+), 11 deletions(-)

diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 2463c1110..93963d2c2 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -7,21 +7,22 @@ on:
     branches:
     - master
 jobs:
-#  build:
-#    runs-on: ubuntu-latest
-#    steps:
-#    - uses: actions/checkout@v3
-#    - uses: cachix/install-nix-action@v22
-#      with:
-#        nix_path: nixpkgs=channel:nixpkgs-unstable
-#    - run: GIT_LFS_SKIP_SMUDGE=1 nix build
-#    - run: nix flake check
-  check-features:
+ build:
+   runs-on: ubuntu-latest
+   steps:
+   - uses: actions/checkout@v4
+   - uses: cachix/install-nix-action@v27
+     with:
+       nix_path: nixpkgs=channel:nixpkgs-unstable
+   - run: GIT_LFS_SKIP_SMUDGE=1 nix build
+   - run: nix flake check
+ check-features:
     runs-on: ubuntu-latest
     steps:
-    - uses: actions/checkout@v3
+    - uses: actions/checkout@v4
     - uses: dtolnay/rust-toolchain@stable
     - run: sudo apt-get update; sudo apt-get install -y libdrm-dev libudev-dev libgbm-dev libxkbcommon-dev libegl1-mesa-dev libwayland-dev libinput-dev libdbus-1-dev libsystemd-dev libseat-dev
     - run: cargo check --no-default-features
     - run: cargo check --features debug
     - run: cargo check --features profile-with-tracy
+